summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <randomdan@akira.random.lan>2014-12-07 15:13:58 +0000
committerDan Goodliffe <randomdan@akira.random.lan>2014-12-07 15:13:58 +0000
commit98e57d03443edfc0a44ab81fddbad999b78f5cbf (patch)
tree2cc226c5f975a978cfd46a41eb9384de2c42686c
parentAdd mutex around Slice::Preprocessor calls as they seem to be demonstrably no... (diff)
downloadproject2-98e57d03443edfc0a44ab81fddbad999b78f5cbf.tar.bz2
project2-98e57d03443edfc0a44ab81fddbad999b78f5cbf.tar.xz
project2-98e57d03443edfc0a44ab81fddbad999b78f5cbf.zip
Don't convert variabletypes to char * for streaming when they're already stream compatible
-rw-r--r--project2/ice/slice2Common.cpp2
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");