summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/PortableGroup/PG_Object_Group.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/PortableGroup/PG_Object_Group.h')
-rw-r--r--TAO/orbsvcs/orbsvcs/PortableGroup/PG_Object_Group.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/TAO/orbsvcs/orbsvcs/PortableGroup/PG_Object_Group.h b/TAO/orbsvcs/orbsvcs/PortableGroup/PG_Object_Group.h
index a793b214190..4cbba398ede 100644
--- a/TAO/orbsvcs/orbsvcs/PortableGroup/PG_Object_Group.h
+++ b/TAO/orbsvcs/orbsvcs/PortableGroup/PG_Object_Group.h
@@ -113,8 +113,11 @@ namespace TAO
/**
* Private constructor -- use static create method.
+ * NOTE: gcc complains about private constructor so
+ * make it protected. Now it really should complain
+ * about non-virtual destructor, but it's not that smart.
*/
- private:
+ protected:
PG_Object_Group (
CORBA::ORB_ptr orb,
TAO::PG_Object_Group_Manipulator * manipulator,