diff options
author | Mark Spruiell <mes@zeroc.com> | 2009-09-04 16:22:16 -0700 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2009-09-04 16:22:16 -0700 |
commit | 6eecee0c43e73da2d52929155c3ada9b32081dce (patch) | |
tree | 18f12e3d1937073976eb10746221f9ae5d4731fb /cpp/src/slice2html/Main.cpp | |
parent | bug 4196 - add class loader to InitializationData (diff) | |
download | ice-6eecee0c43e73da2d52929155c3ada9b32081dce.tar.bz2 ice-6eecee0c43e73da2d52929155c3ada9b32081dce.tar.xz ice-6eecee0c43e73da2d52929155c3ada9b32081dce.zip |
bug 3737:
- Remove Python workaround for 3.3.1
- Make Slice::Preprocessor a dynamically allocated class
Diffstat (limited to 'cpp/src/slice2html/Main.cpp')
-rw-r--r-- | cpp/src/slice2html/Main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/slice2html/Main.cpp b/cpp/src/slice2html/Main.cpp index 403602f217b..a779a0edd1c 100644 --- a/cpp/src/slice2html/Main.cpp +++ b/cpp/src/slice2html/Main.cpp @@ -221,8 +221,8 @@ compile(int argc, char* argv[]) for(vector<string>::size_type idx = 0; idx < args.size(); ++idx) { - Preprocessor icecpp(argv[0], args[idx], cppArgs); - FILE* cppHandle = icecpp.preprocess(true); + PreprocessorPtr icecpp = Preprocessor::create(argv[0], args[idx], cppArgs); + FILE* cppHandle = icecpp->preprocess(true); if(cppHandle == 0) { @@ -246,7 +246,7 @@ compile(int argc, char* argv[]) status = p->parse(args[idx], cppHandle, debug); } - if(!icecpp.close()) + if(!icecpp->close()) { p->destroy(); return EXIT_FAILURE; |