diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2006-10-30 13:49:04 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2006-10-30 13:49:04 +0000 |
commit | de9b1dd7e157708bbe9018d87b49d08cdfc86104 (patch) | |
tree | 4ae605b2abfcc219f76a69d6be8d24d7d5dce220 /rb/src/IceRuby/Communicator.cpp | |
parent | Build against mainline (diff) | |
download | ice-de9b1dd7e157708bbe9018d87b49d08cdfc86104.tar.bz2 ice-de9b1dd7e157708bbe9018d87b49d08cdfc86104.tar.xz ice-de9b1dd7e157708bbe9018d87b49d08cdfc86104.zip |
Fixes to build against HEAD
Diffstat (limited to 'rb/src/IceRuby/Communicator.cpp')
-rw-r--r-- | rb/src/IceRuby/Communicator.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/rb/src/IceRuby/Communicator.cpp b/rb/src/IceRuby/Communicator.cpp index 4e98c6ec315..b9f9f497019 100644 --- a/rb/src/IceRuby/Communicator.cpp +++ b/rb/src/IceRuby/Communicator.cpp @@ -99,7 +99,6 @@ IceRuby_initialize(int argc, VALUE* argv, VALUE self) { volatile VALUE properties = callRuby(rb_iv_get, initData, "@properties"); volatile VALUE logger = callRuby(rb_iv_get, initData, "@logger"); - volatile VALUE defaultContext = callRuby(rb_iv_get, initData, "@defaultContext"); if(!NIL_P(properties)) { @@ -110,11 +109,6 @@ IceRuby_initialize(int argc, VALUE* argv, VALUE self) { throw RubyException(rb_eArgError, "custom logger is not supported"); } - - if(!NIL_P(defaultContext) && !hashToContext(defaultContext, data.defaultContext)) - { - throw RubyException(rb_eTypeError, "invalid value for defaultContext"); - } } // |