diff options
author | wilson_d <wilson_d@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2004-03-03 19:34:30 +0000 |
---|---|---|
committer | wilson_d <wilson_d@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2004-03-03 19:34:30 +0000 |
commit | 978a371791a8be49dd2ba01e3374763228edcbe2 (patch) | |
tree | a406e094f0ddcc96ee1b5c36a4b3182bc81cd58d /TAO/orbsvcs | |
parent | 34a4a0274d7c1a36a2fe5a9560b255bcd4ccb058 (diff) | |
download | ATCD-978a371791a8be49dd2ba01e3374763228edcbe2.tar.gz |
ChangeLogTag: Wed Mar 3 13:32:52 2004 Dale Wilson <wilson_d@ociweb.com>
Diffstat (limited to 'TAO/orbsvcs')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/PortableGroup/PG_Properties_Encoder.inl | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/TAO/orbsvcs/orbsvcs/PortableGroup/PG_Properties_Encoder.inl b/TAO/orbsvcs/orbsvcs/PortableGroup/PG_Properties_Encoder.inl index 1afc4da7e01..4d7577229fb 100644 --- a/TAO/orbsvcs/orbsvcs/PortableGroup/PG_Properties_Encoder.inl +++ b/TAO/orbsvcs/orbsvcs/PortableGroup/PG_Properties_Encoder.inl @@ -8,13 +8,6 @@ * @author Dale Wilson <wilson_d@ociweb.com> */ //============================================================================= -#ifndef TAO_PG_PROPERTIES_ENCODER_H -#define TAO_PG_PROPERTIES_ENCODER_H - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -#pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - namespace TAO_PG { ACE_INLINE @@ -37,14 +30,15 @@ namespace TAO_PG } ACE_INLINE - NamedValue & + Properties_Encoder::NamedValue & Properties_Encoder::NamedValue::operator = (const Properties_Encoder::NamedValue & rhs) { if (this != &rhs) { - this->name_ = rhs->name_; - this->value_ = rhs->value_; + this->name_ = rhs.name_; + this->value_ = rhs.value_; } + return *this; } ACE_INLINE @@ -63,4 +57,3 @@ namespace TAO_PG } //namespace TAO_PG -#endif // TAO_PG_PROPERTIES_ENCODER_H |