cppcheck: fix call of pure virtual function