cpp: overloaded virtual function in dispatcher hides base

Fix borked gcc build