diff options
Diffstat (limited to 'cpp/src/slice2cpp/Main.cpp')
-rw-r--r-- | cpp/src/slice2cpp/Main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/slice2cpp/Main.cpp b/cpp/src/slice2cpp/Main.cpp index a6bc9c48dc3..afcc1dca9dc 100644 --- a/cpp/src/slice2cpp/Main.cpp +++ b/cpp/src/slice2cpp/Main.cpp @@ -178,7 +178,7 @@ main(int argc, char* argv[]) } UnitPtr unit = Unit::createUnit(false, false); - int parseStatus = unit -> parse(cppHandle, debug); + int parseStatus = unit->parse(cppHandle, debug); #ifdef WIN32 _pclose(cppHandle); @@ -195,13 +195,13 @@ main(int argc, char* argv[]) Gen gen(argv[0], base, include, includePaths, dllExport); if (!gen) { - unit -> destroy(); + unit->destroy(); return EXIT_FAILURE; } gen.generate(unit); } - unit -> destroy(); + unit->destroy(); } return status; |