diff options
author | Joe George <joe@zeroc.com> | 2017-05-02 13:58:41 -0400 |
---|---|---|
committer | Joe George <joe@zeroc.com> | 2017-05-02 15:42:34 -0400 |
commit | cd472ddf8bd8a9c2bcfc80e988e6db450ea7dbf9 (patch) | |
tree | 5dbc0bfc43e2c195ab7e7d819e1914611f943f1d /ruby/src | |
parent | Removed trailing whitespace generated by slice2js (diff) | |
download | ice-cd472ddf8bd8a9c2bcfc80e988e6db450ea7dbf9.tar.bz2 ice-cd472ddf8bd8a9c2bcfc80e988e6db450ea7dbf9.tar.xz ice-cd472ddf8bd8a9c2bcfc80e988e6db450ea7dbf9.zip |
Remove trailing whitespace
Diffstat (limited to 'ruby/src')
-rw-r--r-- | ruby/src/IceRuby/Config.h | 2 | ||||
-rw-r--r-- | ruby/src/IceRuby/Types.cpp | 12 |
2 files changed, 7 insertions, 7 deletions
diff --git a/ruby/src/IceRuby/Config.h b/ruby/src/IceRuby/Config.h index fa5a8772a74..16d0d820cb4 100644 --- a/ruby/src/IceRuby/Config.h +++ b/ruby/src/IceRuby/Config.h @@ -19,7 +19,7 @@ // // COMPILERFIX: This is required to prevent annoying warnings with aCC. // The aCC -mt option causes the definition of the _POSIX_C_SOURCE macro -// (with another lower value.) and this is causing a warning because of +// (with another lower value.) and this is causing a warning because of // the redefinition. // //#if defined(__HP_aCC) && defined(_POSIX_C_SOURCE) diff --git a/ruby/src/IceRuby/Types.cpp b/ruby/src/IceRuby/Types.cpp index 16085d06347..799c8197ab7 100644 --- a/ruby/src/IceRuby/Types.cpp +++ b/ruby/src/IceRuby/Types.cpp @@ -595,8 +595,8 @@ IceRuby::PrimitiveInfo::marshal(VALUE p, Ice::OutputStream* os, ObjectMap*, bool #if defined(_MSC_VER) && (_MSC_VER <= 1700) _finite(val) && #else - isfinite(d) && -#endif + isfinite(d) && +#endif (d > numeric_limits<float>::max() || d < -numeric_limits<float>::max())) { throw RubyException(rb_eTypeError, "value is out of range for a float"); @@ -2263,7 +2263,7 @@ IceRuby::ClassInfo::isA(const ClassInfoPtr& info) { return true; } - + return base && base->isA(info); } @@ -2286,7 +2286,7 @@ IceRuby::ProxyInfo::define(VALUE t, VALUE b, VALUE i) const_cast<ProxyInfoPtr&>(base) = ProxyInfoPtr::dynamicCast(getType(b)); assert(base); } - + volatile VALUE arr = callRuby(rb_check_array_type, i); assert(!NIL_P(arr)); for(int n = 0; n < RARRAY_LEN(arr); ++n) @@ -2295,7 +2295,7 @@ IceRuby::ProxyInfo::define(VALUE t, VALUE b, VALUE i) assert(iface); const_cast<ProxyInfoList&>(interfaces).push_back(iface); } - + const_cast<VALUE&>(rubyClass) = t; } @@ -3124,7 +3124,7 @@ IceRuby_TypeInfo_defineClass(VALUE self, VALUE type, VALUE compactId, VALUE pres } _compactIdMap.insert(CompactIdMap::value_type(info->compactId, info)); } - + if(type != Qnil && !info->interface) { rb_define_const(type, "ICE_TYPE", self); |