diff options
author | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2004-02-20 22:36:11 +0000 |
---|---|---|
committer | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2004-02-20 22:36:11 +0000 |
commit | 0bc1e3f3a53fe61bda96d94572e5c460f57ddf7e (patch) | |
tree | 1710e3fcbe2eafb1a4721436eb04a3fc971a6b4d /ace/CDR_Base.cpp | |
parent | 6da8a25823b769c42e7a16cfe76018c8cd759515 (diff) | |
download | ATCD-0bc1e3f3a53fe61bda96d94572e5c460f57ddf7e.tar.gz |
ChangeLogTag: Thu Feb 20 17:14:46 2004 Irfan Pyarali <irfan@oomworks.com>
Diffstat (limited to 'ace/CDR_Base.cpp')
-rw-r--r-- | ace/CDR_Base.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/ace/CDR_Base.cpp b/ace/CDR_Base.cpp index e9519d030a8..ad4d399e83f 100644 --- a/ace/CDR_Base.cpp +++ b/ace/CDR_Base.cpp @@ -555,6 +555,15 @@ ACE_CDR::LongLong::operator!= (const ACE_CDR::LongLong &rhs) const { return this->l != rhs.l || this->h != rhs.h; } + +ACE_CDR::LongLong & +ACE_CDR::LongLong::operator= (const ACE_CDR::LongLong &rhs) +{ + this->l = rhs.l; + this->h = rhs.h; + + return *this; +} #endif /* NONNATIVE_LONGLONG */ #if defined (NONNATIVE_LONGDOUBLE) @@ -569,6 +578,13 @@ ACE_CDR::LongDouble::operator!= (const ACE_CDR::LongDouble &rhs) const { return ACE_OS::memcmp (this->ld, rhs.ld, 16) != 0; } + +ACE_CDR::LongDouble & +ACE_CDR::LongDouble::operator= (const ACE_CDR::LongDouble &rhs) +{ + ACE_OS::memcpy (this->ld, rhs.ld, 16); + return *this; +} #endif /* NONNATIVE_LONGDOUBLE */ #if defined(_UNICOS) && !defined(_CRAYMPP) |