summaryrefslogtreecommitdiff
path: root/python/modules/IcePy/Slice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'python/modules/IcePy/Slice.cpp')
-rw-r--r--python/modules/IcePy/Slice.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/python/modules/IcePy/Slice.cpp b/python/modules/IcePy/Slice.cpp
index a4692f6465f..28749bf3439 100644
--- a/python/modules/IcePy/Slice.cpp
+++ b/python/modules/IcePy/Slice.cpp
@@ -227,7 +227,7 @@ IcePy_compile(PyObject* /*self*/, PyObject* args)
char** argv = new char*[argSeq.size()];
for(size_t i = 0; i < argSeq.size(); ++i)
{
- argv[i] = const_cast<char*>(argSeq[i].c_str());
+ argv[i] = const_cast<char*>(argSeq[i].c_str());
}
int rc;
@@ -238,22 +238,22 @@ IcePy_compile(PyObject* /*self*/, PyObject* args)
catch(const std::exception& ex)
{
getErrorStream() << argv[0] << ": error:" << ex.what() << endl;
- rc = EXIT_FAILURE;
+ rc = EXIT_FAILURE;
}
catch(const std::string& msg)
{
getErrorStream() << argv[0] << ": error:" << msg << endl;
- rc = EXIT_FAILURE;
+ rc = EXIT_FAILURE;
}
catch(const char* msg)
{
getErrorStream() << argv[0] << ": error:" << msg << endl;
- rc = EXIT_FAILURE;
+ rc = EXIT_FAILURE;
}
catch(...)
{
getErrorStream() << argv[0] << ": error:" << "unknown exception" << endl;
- rc = EXIT_FAILURE;
+ rc = EXIT_FAILURE;
}
delete[] argv;