summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cppe/Main.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2006-11-07 13:30:07 +0000
committerDwayne Boone <dwayne@zeroc.com>2006-11-07 13:30:07 +0000
commitdb55fb00e84f8d62f51ad0e84a7ec74df01e2d69 (patch)
tree8a71bde0b16a5bd3924e1573655e554180e9f0a8 /cpp/src/slice2cppe/Main.cpp
parentFixed a few coding style issues. (diff)
downloadice-db55fb00e84f8d62f51ad0e84a7ec74df01e2d69.tar.bz2
ice-db55fb00e84f8d62f51ad0e84a7ec74df01e2d69.tar.xz
ice-db55fb00e84f8d62f51ad0e84a7ec74df01e2d69.zip
Added FixedProxyException
Diffstat (limited to 'cpp/src/slice2cppe/Main.cpp')
-rw-r--r--cpp/src/slice2cppe/Main.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/cpp/src/slice2cppe/Main.cpp b/cpp/src/slice2cppe/Main.cpp
index f015f8a88b3..70d76cfd2fa 100644
--- a/cpp/src/slice2cppe/Main.cpp
+++ b/cpp/src/slice2cppe/Main.cpp
@@ -94,19 +94,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 + "\"";
}
vector<string> includePaths = opts.argVec("I");
- for(vector<string>::const_iterator i = includePaths.begin(); i != includePaths.end(); ++i)
+ for(i = includePaths.begin(); i != includePaths.end(); ++i)
{
cppArgs += " -I\"" + *i + "\"";
}
@@ -138,7 +139,7 @@ main(int argc, char* argv[])
int status = EXIT_SUCCESS;
- for(vector<string>::const_iterator i = args.begin(); i != args.end(); ++i)
+ for(i = args.begin(); i != args.end(); ++i)
{
if(depend)
{