fix CppGenerator typo