summaryrefslogtreecommitdiff
path: root/TAO/tao/GIOP_Message_Generator_Parser_Impl.inl
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/GIOP_Message_Generator_Parser_Impl.inl')
-rw-r--r--TAO/tao/GIOP_Message_Generator_Parser_Impl.inl13
1 files changed, 13 insertions, 0 deletions
diff --git a/TAO/tao/GIOP_Message_Generator_Parser_Impl.inl b/TAO/tao/GIOP_Message_Generator_Parser_Impl.inl
new file mode 100644
index 00000000000..18bb7936ffd
--- /dev/null
+++ b/TAO/tao/GIOP_Message_Generator_Parser_Impl.inl
@@ -0,0 +1,13 @@
+//$Id$
+
+ACE_INLINE CORBA::Boolean
+TAO_GIOP_Message_Generator_Parser_Impl::
+ check_revision (CORBA::Octet incoming_major,
+ CORBA::Octet incoming_minor)
+{
+ if (incoming_major > TAO_DEF_GIOP_MAJOR ||
+ incoming_minor > TAO_DEF_GIOP_MINOR)
+ return 0;
+
+ return 1;
+}