diff options
author | Mark Spruiell <mes@zeroc.com> | 2009-11-04 10:45:46 -0800 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2009-11-04 10:45:46 -0800 |
commit | 0fe3ebe0097fc8990d4544f6e3f8e34fb7b9d8ee (patch) | |
tree | ae304b279ae6097f10d64a22713f5b8575465cf1 /cpp/src/Slice/PythonUtil.cpp | |
parent | MFC demo was broken - LogI was not implementing cloneWithPrefix. (diff) | |
download | ice-0fe3ebe0097fc8990d4544f6e3f8e34fb7b9d8ee.tar.bz2 ice-0fe3ebe0097fc8990d4544f6e3f8e34fb7b9d8ee.tar.xz ice-0fe3ebe0097fc8990d4544f6e3f8e34fb7b9d8ee.zip |
bug 4349 - gcc warning in PythonUtil
Diffstat (limited to 'cpp/src/Slice/PythonUtil.cpp')
-rw-r--r-- | cpp/src/Slice/PythonUtil.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Slice/PythonUtil.cpp b/cpp/src/Slice/PythonUtil.cpp index b9485ad5c47..482bd3ccd36 100644 --- a/cpp/src/Slice/PythonUtil.cpp +++ b/cpp/src/Slice/PythonUtil.cpp @@ -1182,8 +1182,8 @@ Slice::Python::CodeVisitor::visitStructStart(const StructPtr& p) }; for(int opIndex = 0; opIndex != sizeof(richOps)/sizeof(richOps[0]); opIndex += 2) { - const char* opName = richOps[opIndex]; - const char* opSymbol = richOps[opIndex+1]; + string opName = richOps[opIndex]; + string opSymbol = richOps[opIndex+1]; _out << sp << nl << "def " << opName << "(self, other):"; _out.inc(); |