Correction of getline in CppGenerator