diff options
author | Jose <jose@zeroc.com> | 2018-02-05 08:34:31 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2018-02-05 08:34:31 +0100 |
commit | 5b1531275cc5553cc728eecbfa91a89fcd9305b3 (patch) | |
tree | 2f98bbd478344806766d1322155ee5a4f5e2794b /cpp/src/slice2objc/Gen.cpp | |
parent | Fixes to support zeroc.icebuilder.msbuild tasks (diff) | |
parent | Fixed PHP array initialization in test proxy client (diff) | |
download | ice-5b1531275cc5553cc728eecbfa91a89fcd9305b3.tar.bz2 ice-5b1531275cc5553cc728eecbfa91a89fcd9305b3.tar.xz ice-5b1531275cc5553cc728eecbfa91a89fcd9305b3.zip |
Merge remote-tracking branch 'origin/3.7' into netcore
Diffstat (limited to 'cpp/src/slice2objc/Gen.cpp')
-rw-r--r-- | cpp/src/slice2objc/Gen.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/src/slice2objc/Gen.cpp b/cpp/src/slice2objc/Gen.cpp index 1c4b7e58943..55a587bb441 100644 --- a/cpp/src/slice2objc/Gen.cpp +++ b/cpp/src/slice2objc/Gen.cpp @@ -579,6 +579,10 @@ Slice::ObjCVisitor::getResponseCBSig(const OperationPtr& op) const result += outTypeToString(type, (*q)->optional()); } } + if(result.empty()) + { + result = "void"; + } return "void(^)(" + result + ")"; } |