diff options
author | Mark Spruiell <mes@zeroc.com> | 2007-05-22 22:17:02 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2007-05-22 22:17:02 +0000 |
commit | a8d60e8c16da6a0c721a158ad7f433eb8f1bc468 (patch) | |
tree | 1c9c113bc71c1db484ae96169bca502d20f8c8cd /cpp/src/Slice/RubyUtil.cpp | |
parent | facet bugs in checkedCast/uncheckedCast (diff) | |
download | ice-a8d60e8c16da6a0c721a158ad7f433eb8f1bc468.tar.bz2 ice-a8d60e8c16da6a0c721a158ad7f433eb8f1bc468.tar.xz ice-a8d60e8c16da6a0c721a158ad7f433eb8f1bc468.zip |
fixing facet bug with uncheckedCast
Diffstat (limited to 'cpp/src/Slice/RubyUtil.cpp')
-rw-r--r-- | cpp/src/Slice/RubyUtil.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Slice/RubyUtil.cpp b/cpp/src/Slice/RubyUtil.cpp index 3a91b2b9184..39fcd879c66 100644 --- a/cpp/src/Slice/RubyUtil.cpp +++ b/cpp/src/Slice/RubyUtil.cpp @@ -522,7 +522,7 @@ Slice::Ruby::CodeVisitor::visitClassDefStart(const ClassDefPtr& p) _out.dec(); _out << nl << "end"; - _out << sp << nl << "def " << name << "Prx.uncheckedCast(proxy, facet='')"; + _out << sp << nl << "def " << name << "Prx.uncheckedCast(proxy, facet=nil)"; _out.inc(); _out << nl << "ice_uncheckedCast(proxy, facet)"; _out.dec(); |