diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2005-11-02 07:13:04 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2005-11-02 07:13:04 +0000 |
commit | eae5ebaf389a11e011b2f3c6f4b9c1bc0b5d5959 (patch) | |
tree | 52300a84c07910ff7f95f76d7b2820c1a4b59606 /TAO/tao/GIOP_Message_Version.inl | |
parent | ece8bd22b38b18f2a288d36a05371ef7d62156c9 (diff) | |
download | ATCD-eae5ebaf389a11e011b2f3c6f4b9c1bc0b5d5959.tar.gz |
ChangeLogTag:Tue Nov 1 14:49:40 2005 Ossama Othman <ossama@dre.vanderbilt.edu>
Diffstat (limited to 'TAO/tao/GIOP_Message_Version.inl')
-rw-r--r-- | TAO/tao/GIOP_Message_Version.inl | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/TAO/tao/GIOP_Message_Version.inl b/TAO/tao/GIOP_Message_Version.inl index 216e29f5424..6328534b3fc 100644 --- a/TAO/tao/GIOP_Message_Version.inl +++ b/TAO/tao/GIOP_Message_Version.inl @@ -2,6 +2,8 @@ // //$Id$ +TAO_BEGIN_VERSIONED_NAMESPACE_DECL + ACE_INLINE TAO_GIOP_Message_Version::TAO_GIOP_Message_Version ( const TAO_GIOP_Message_Version &src) @@ -18,20 +20,16 @@ TAO_GIOP_Message_Version::TAO_GIOP_Message_Version (CORBA::Octet maj, { } -ACE_INLINE -TAO_GIOP_Message_Version::~TAO_GIOP_Message_Version (void) -{ -} - ACE_INLINE TAO_GIOP_Message_Version & TAO_GIOP_Message_Version::operator= ( const TAO_GIOP_Message_Version &src) { - if (this == &src) - return *this; + if (this != &src) + { + this->major = src.major; + this->minor = src.minor; + } - this->major = src.major; - this->minor = src.minor; return *this; } @@ -57,3 +55,5 @@ TAO_GIOP_Message_Version::operator!= ( { return !(*this == src); } + +TAO_END_VERSIONED_NAMESPACE_DECL |