summaryrefslogtreecommitdiff
path: root/cpp/src/slice2objc
diff options
context:
space:
mode:
authorJoe George <joe@zeroc.com>2015-12-17 09:58:11 -0500
committerJoe George <joe@zeroc.com>2015-12-17 10:27:29 -0500
commit1ea2a111f3a0871b197e41750a0805d52b8eaa0a (patch)
treef181a7cfe3f835d4377b52bdeabebff3b6f97806 /cpp/src/slice2objc
parentC++11 mapping test updates (diff)
downloadice-1ea2a111f3a0871b197e41750a0805d52b8eaa0a.tar.bz2
ice-1ea2a111f3a0871b197e41750a0805d52b8eaa0a.tar.xz
ice-1ea2a111f3a0871b197e41750a0805d52b8eaa0a.zip
ICE-6897 - Python and Objective-C ValueFactory
- ValueFactory's are now functions/lambdas in Python and blocks in Objective-C
Diffstat (limited to 'cpp/src/slice2objc')
-rw-r--r--cpp/src/slice2objc/Gen.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/src/slice2objc/Gen.cpp b/cpp/src/slice2objc/Gen.cpp
index 13494c3b4a6..4e39a68dd3b 100644
--- a/cpp/src/slice2objc/Gen.cpp
+++ b/cpp/src/slice2objc/Gen.cpp
@@ -1109,6 +1109,7 @@ Slice::Gen::TypesVisitor::visitOperation(const OperationPtr& p)
TypePtr returnType = p->returnType();
string retString;
string params;
+
if(cl->isLocal())
{
retString = outTypeToString(returnType, p->returnIsOptional());