diff options
author | Mark Spruiell <mes@zeroc.com> | 2007-05-22 23:17:22 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2007-05-22 23:17:22 +0000 |
commit | ee9b89ffbf9e38bd3918a312fff2893b90065ab8 (patch) | |
tree | 640f3880ba9435c9ba73ab4c1f0d0bba499d50ab /cpp | |
parent | fixing facet bug with uncheckedCast (diff) | |
download | ice-ee9b89ffbf9e38bd3918a312fff2893b90065ab8.tar.bz2 ice-ee9b89ffbf9e38bd3918a312fff2893b90065ab8.tar.xz ice-ee9b89ffbf9e38bd3918a312fff2893b90065ab8.zip |
fixing facet bug with uncheckedCast
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/src/Slice/PythonUtil.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Slice/PythonUtil.cpp b/cpp/src/Slice/PythonUtil.cpp index 426ceff6949..9815b210aea 100644 --- a/cpp/src/Slice/PythonUtil.cpp +++ b/cpp/src/Slice/PythonUtil.cpp @@ -675,7 +675,7 @@ Slice::Python::CodeVisitor::visitClassDefStart(const ClassDefPtr& p) _out.dec(); _out << nl << "checkedCast = staticmethod(checkedCast)"; - _out << sp << nl << "def uncheckedCast(proxy, facet=''):"; + _out << sp << nl << "def uncheckedCast(proxy, facet=None):"; _out.inc(); _out << nl << "return _M_" << abs << "Prx.ice_uncheckedCast(proxy, facet)"; _out.dec(); |