summaryrefslogtreecommitdiff
path: root/TAO/tao/DomainC.h
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-05-12 17:13:06 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-05-12 17:13:06 +0000
commit0e9211ea909e0061eb76564afb4731c38cebe3e0 (patch)
treec05444797e38744785ea8912998a7bd2e959b109 /TAO/tao/DomainC.h
parentdaf6257f147703ac99674c7c1e764f812d4b2148 (diff)
downloadATCD-0e9211ea909e0061eb76564afb4731c38cebe3e0.tar.gz
Stuff to prevent "widening assignment" of vars.
Diffstat (limited to 'TAO/tao/DomainC.h')
-rw-r--r--TAO/tao/DomainC.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/TAO/tao/DomainC.h b/TAO/tao/DomainC.h
index 4ab1571dd28..8e3485a7c0e 100644
--- a/TAO/tao/DomainC.h
+++ b/TAO/tao/DomainC.h
@@ -35,7 +35,7 @@ class IR_InterfaceDef;
#pragma warning(disable:4250)
#endif /* _MSC_VER */
-class TAO_Export CORBA_DomainManager_var
+class TAO_Export CORBA_DomainManager_var : public TAO_Base_var
{
public:
CORBA_DomainManager_var (void); // default constructor
@@ -58,6 +58,9 @@ public:
private:
CORBA_DomainManager_ptr ptr_;
+ // Unimplemented - prevents widening assignment.
+ CORBA_DomainManager_var (const TAO_Base_var &rhs);
+ CORBA_DomainManager_var &operator= (const TAO_Base_var &rhs);
};
class TAO_Export CORBA_DomainManager_out
@@ -205,7 +208,7 @@ private:
#if (TAO_HAS_MINIMUM_CORBA == 0)
-class TAO_Export CORBA_ConstructionPolicy_var
+class TAO_Export CORBA_ConstructionPolicy_var : public TAO_Base_var
{
public:
CORBA_ConstructionPolicy_var (void); // default constructor
@@ -228,6 +231,9 @@ public:
private:
CORBA_ConstructionPolicy_ptr ptr_;
+ // Unimplemented - prevents widening assignment.
+ CORBA_ConstructionPolicy_var (const TAO_Base_var &rhs);
+ CORBA_ConstructionPolicy_var &operator= (const TAO_Base_var &rhs);
};
class TAO_Export CORBA_ConstructionPolicy_out