diff options
author | Benoit Foucher <benoit@zeroc.com> | 2013-06-04 11:07:46 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2013-06-04 11:07:46 +0200 |
commit | c1c2243e742ecd94bc0c634b14a93261170a24e3 (patch) | |
tree | ed2c11eb485f2716318b43959e7ea64197fe3cd7 /rb/src/IceRuby/Proxy.cpp | |
parent | Fixed (ICE-5345) - IcePHP fails to build with GCC 4.7 (diff) | |
download | ice-c1c2243e742ecd94bc0c634b14a93261170a24e3.tar.bz2 ice-c1c2243e742ecd94bc0c634b14a93261170a24e3.tar.xz ice-c1c2243e742ecd94bc0c634b14a93261170a24e3.zip |
Added __hash proxy method to get around deprecation messages when using ice_getHash, fixed identation
Diffstat (limited to 'rb/src/IceRuby/Proxy.cpp')
-rw-r--r-- | rb/src/IceRuby/Proxy.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rb/src/IceRuby/Proxy.cpp b/rb/src/IceRuby/Proxy.cpp index 015f1fbcda7..f46be805982 100644 --- a/rb/src/IceRuby/Proxy.cpp +++ b/rb/src/IceRuby/Proxy.cpp @@ -80,7 +80,7 @@ IceRuby_ObjectPrx_ice_getHash(VALUE self) ICE_RUBY_TRY { Ice::ObjectPrx p = getProxy(self); - return INT2FIX(p->ice_getHash()); + return INT2FIX(p->__hash()); } ICE_RUBY_CATCH return Qnil; @@ -93,7 +93,7 @@ IceRuby_ObjectPrx_hash(VALUE self) ICE_RUBY_TRY { Ice::ObjectPrx p = getProxy(self); - return INT2FIX(p->ice_getHash()); + return INT2FIX(p->__hash()); } ICE_RUBY_CATCH return Qnil; |