diff options
Diffstat (limited to 'TAO/tao/GIOP_Message_Generator_Parser_Impl.inl')
-rw-r--r-- | TAO/tao/GIOP_Message_Generator_Parser_Impl.inl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/TAO/tao/GIOP_Message_Generator_Parser_Impl.inl b/TAO/tao/GIOP_Message_Generator_Parser_Impl.inl index 49f47beff45..5415e22f081 100644 --- a/TAO/tao/GIOP_Message_Generator_Parser_Impl.inl +++ b/TAO/tao/GIOP_Message_Generator_Parser_Impl.inl @@ -2,6 +2,8 @@ // //$Id$ +TAO_BEGIN_VERSIONED_NAMESPACE_DECL + ACE_INLINE CORBA::Boolean TAO_GIOP_Message_Generator_Parser_Impl::check_revision ( CORBA::Octet incoming_major, @@ -10,7 +12,7 @@ TAO_GIOP_Message_Generator_Parser_Impl::check_revision ( CORBA::UShort const version_as_whole_num = incoming_major << 8 | incoming_minor; - static CORBA::UShort const max_allowable_version = + CORBA::UShort const max_allowable_version = TAO_DEF_GIOP_MAJOR << 8 | TAO_DEF_GIOP_MINOR; // If it's greater than the max, we know it's not allowed. @@ -29,3 +31,5 @@ TAO_GIOP_Message_Generator_Parser_Impl::check_revision ( return 0; } + +TAO_END_VERSIONED_NAMESPACE_DECL |