cppcheck: fix noCopyConstructor