diff options
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/PortableGroup/PG_Property_Set.cpp')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/PortableGroup/PG_Property_Set.cpp | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/TAO/orbsvcs/orbsvcs/PortableGroup/PG_Property_Set.cpp b/TAO/orbsvcs/orbsvcs/PortableGroup/PG_Property_Set.cpp index d49b666346c..5acf71e1773 100644 --- a/TAO/orbsvcs/orbsvcs/PortableGroup/PG_Property_Set.cpp +++ b/TAO/orbsvcs/orbsvcs/PortableGroup/PG_Property_Set.cpp @@ -33,27 +33,21 @@ TAO::PG_Property_Set::PG_Property_Set (const PortableGroup::Properties & ps) } TAO::PG_Property_Set::PG_Property_Set (const PortableGroup::Properties & ps, - PG_Property_Set * defaults, - bool own_defaults) - : defaults_ (defaults), - own_defaults_ (own_defaults) + const PG_Property_Set_var & defaults) + : defaults_ (defaults) { this->decode (ps); } -TAO::PG_Property_Set::PG_Property_Set (PG_Property_Set * defaults, - bool own_defaults) - : defaults_ (defaults), - own_defaults_ (own_defaults) +TAO::PG_Property_Set::PG_Property_Set (const PG_Property_Set_var & defaults) + : defaults_ (defaults) { } TAO::PG_Property_Set::~PG_Property_Set () { this->clear (); - if (this->own_defaults_) - delete this->defaults_; } void |