diff options
-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"); |