diff options
Diffstat (limited to 'cpp/src/slice2php/Main.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 { |