summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <randomdan@akira.random.lan>2014-12-01 13:55:20 +0000
committerDan Goodliffe <randomdan@akira.random.lan>2014-12-01 13:55:20 +0000
commit720ca84426263941dbf925e17fc413d00b6377cd (patch)
treed1019a7566699e2896e6703f3d48b4b2758dd164
parentAdd missing include (diff)
downloadproject2-720ca84426263941dbf925e17fc413d00b6377cd.tar.bz2
project2-720ca84426263941dbf925e17fc413d00b6377cd.tar.xz
project2-720ca84426263941dbf925e17fc413d00b6377cd.zip
Log variables, not domain objects (might not support operator<<)
-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 5088120..0c7df54 100644
--- a/project2/ice/slice2Common.cpp
+++ b/project2/ice/slice2Common.cpp
@@ -35,7 +35,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, ", p->name().c_str());
+ fprintf(code, "%s(ec).as<std::string>(), ", p->name().c_str());
}
fprintf(code, "ice);\n");