diff options
author | Jose <jose@zeroc.com> | 2017-03-23 09:49:55 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2017-03-23 09:49:55 +0100 |
commit | eda2a27ccf1f9aad908d8f7cfdb7fcca48d8558c (patch) | |
tree | ccc5243e489a4818e66fad9d63ead738be0adf47 /cpp | |
parent | Replaced tabs with spaces (diff) | |
download | ice-eda2a27ccf1f9aad908d8f7cfdb7fcca48d8558c.tar.bz2 ice-eda2a27ccf1f9aad908d8f7cfdb7fcca48d8558c.tar.xz ice-eda2a27ccf1f9aad908d8f7cfdb7fcca48d8558c.zip |
Fix for PHP optionals Ice\None not used in generated code
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/src/slice2php/Main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/slice2php/Main.cpp b/cpp/src/slice2php/Main.cpp index 17cb92dd475..a59c75e6751 100644 --- a/cpp/src/slice2php/Main.cpp +++ b/cpp/src/slice2php/Main.cpp @@ -1398,7 +1398,7 @@ CodeVisitor::writeConstructorParams(const MemberInfoList& members) } else if(member->optional()) { - _out << "Ice_Unset"; + _out << (_ns ? scopedToName("::Ice::None", _ns) : "Ice_Unset"); } else { |