diff options
author | Dan Goodliffe <randomdan@akira.random.lan> | 2014-12-07 15:13:58 +0000 |
---|---|---|
committer | Dan Goodliffe <randomdan@akira.random.lan> | 2014-12-07 15:13:58 +0000 |
commit | 0ce5c0a2a800e46a715b9f025d3d42b3715b9bd4 (patch) | |
tree | 2cc226c5f975a978cfd46a41eb9384de2c42686c | |
parent | Add mutex around Slice::Preprocessor calls as they seem to be demonstrably no... (diff) | |
download | project2-0ce5c0a2a800e46a715b9f025d3d42b3715b9bd4.tar.bz2 project2-0ce5c0a2a800e46a715b9f025d3d42b3715b9bd4.tar.xz project2-0ce5c0a2a800e46a715b9f025d3d42b3715b9bd4.zip |
Don't convert variabletypes to char * for streaming when they're already stream compatible
-rw-r--r-- | project2/ice/slice2Common.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/project2/ice/slice2Common.cpp b/project2/ice/slice2Common.cpp index 5886d07..8068b03 100644 --- a/project2/ice/slice2Common.cpp +++ b/project2/ice/slice2Common.cpp @@ -42,7 +42,7 @@ Slice2Common::FunctionBegin(Slice::OperationPtr o) fprintf(code, "ice @ %%p\", \n"); fprintf(code, "\t\t\t\t\t\t\t\t__PRETTY_FUNCTION__, "); BOOST_FOREACH(const auto & p, o->parameters()) { - fprintf(code, "%s(ec).as<const char *>(), ", p->name().c_str()); + fprintf(code, "%s(ec), ", p->name().c_str()); } fprintf(code, "ice);\n"); |