summaryrefslogtreecommitdiff
path: root/cpp/src/Slice/RubyUtil.cpp
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2007-05-22 22:17:02 +0000
committerMark Spruiell <mes@zeroc.com>2007-05-22 22:17:02 +0000
commita8d60e8c16da6a0c721a158ad7f433eb8f1bc468 (patch)
tree1c9c113bc71c1db484ae96169bca502d20f8c8cd /cpp/src/Slice/RubyUtil.cpp
parentfacet bugs in checkedCast/uncheckedCast (diff)
downloadice-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.cpp2
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();