diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2006-12-18 17:39:10 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2006-12-18 17:39:10 +0000 |
commit | aea24a3b773c644bd852c92407bb8b5cf4cd8f73 (patch) | |
tree | 4964cf08adb9ea9f0f7815c0a6cb8f7ec2b3d553 /cpp/src/slice2html/Main.cpp | |
parent | Object adapter properties now prefixed by "Ice.OA." (diff) | |
download | ice-aea24a3b773c644bd852c92407bb8b5cf4cd8f73.tar.bz2 ice-aea24a3b773c644bd852c92407bb8b5cf4cd8f73.tar.xz ice-aea24a3b773c644bd852c92407bb8b5cf4cd8f73.zip |
Fixed Windows compile error
Diffstat (limited to 'cpp/src/slice2html/Main.cpp')
-rw-r--r-- | cpp/src/slice2html/Main.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/cpp/src/slice2html/Main.cpp b/cpp/src/slice2html/Main.cpp index d26c403167c..dd3d4393ab6 100644 --- a/cpp/src/slice2html/Main.cpp +++ b/cpp/src/slice2html/Main.cpp @@ -81,19 +81,20 @@ main(int argc, char* argv[]) string cppArgs; vector<string> optargs = opts.argVec("D"); - for(vector<string>::const_iterator i = optargs.begin(); i != optargs.end(); ++i) + vector<string>::const_iterator i; + for(i = optargs.begin(); i != optargs.end(); ++i) { cppArgs += " -D\"" + *i + "\""; } optargs = opts.argVec("U"); - for(vector<string>::const_iterator i = optargs.begin(); i != optargs.end(); ++i) + for(i = optargs.begin(); i != optargs.end(); ++i) { cppArgs += " -U\"" + *i + "\""; } optargs = opts.argVec("I"); - for(vector<string>::const_iterator i = optargs.begin(); i != optargs.end(); ++i) + for(i = optargs.begin(); i != optargs.end(); ++i) { cppArgs += " -I\"" + *i + "\""; } |