summaryrefslogtreecommitdiff
path: root/TAO/tao/ValueFactory.h
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2003-02-22 17:08:43 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2003-02-22 17:08:43 +0000
commitc9241a4d136cb08e049410d562e3e22d108a0b6b (patch)
tree09f47ecd43f2921852fd825f615e27efda938472 /TAO/tao/ValueFactory.h
parent74abbdfc4a0b5a1c58147c0de9750c8a074c42a6 (diff)
downloadATCD-c9241a4d136cb08e049410d562e3e22d108a0b6b.tar.gz
ChangeLogTag:Sat Feb 22 09:06:45 2003 Ossama Othman <ossama@uci.edu>
Diffstat (limited to 'TAO/tao/ValueFactory.h')
-rw-r--r--TAO/tao/ValueFactory.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/TAO/tao/ValueFactory.h b/TAO/tao/ValueFactory.h
index 8676a63e442..9d682aa227b 100644
--- a/TAO/tao/ValueFactory.h
+++ b/TAO/tao/ValueFactory.h
@@ -87,9 +87,9 @@ namespace CORBA
// elaborated --- its just a suggestion.)
#ifdef TAO_HAS_OBV_COVARIANT_RETURN
-# define TAO_OBV_CREATE_RETURN_TYPE (TYPE) TYPE *
+# define TAO_OBV_CREATE_RETURN_TYPE(TYPE) TYPE *
#else /* TAO_HAS_OBV_COVARIANT_RETURN */
-# define TAO_OBV_CREATE_RETURN_TYPE (TYPE) CORBA::ValueBase *
+# define TAO_OBV_CREATE_RETURN_TYPE(TYPE) CORBA::ValueBase *
#endif /* TAO_HAS_OBV_COVARIANT_RETURN */
// (The obtaining of the repository id is currently not yet like the OMG way. %!)
@@ -101,7 +101,7 @@ namespace CORBA
// to the newly created one. (A new reference could be obtained with
// orb->lookup_value_factory (char * repo_id) .)
-#define TAO_OBV_REGISTER_FACTORY (FACTORY, VALUETYPE) \
+#define TAO_OBV_REGISTER_FACTORY(FACTORY, VALUETYPE) \
{ CORBA::ValueFactory factory = new FACTORY; \
CORBA::ValueFactory prev_factory = \
TAO_ORB_Core_instance ()->orb ()->register_value_factory (\