From 98e57d03443edfc0a44ab81fddbad999b78f5cbf Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 7 Dec 2014 15:13:58 +0000 Subject: Don't convert variabletypes to char * for streaming when they're already stream compatible --- project2/ice/slice2Common.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(), ", p->name().c_str()); + fprintf(code, "%s(ec), ", p->name().c_str()); } fprintf(code, "ice);\n"); -- cgit v1.2.3