summaryrefslogtreecommitdiff
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
parent74abbdfc4a0b5a1c58147c0de9750c8a074c42a6 (diff)
downloadATCD-c9241a4d136cb08e049410d562e3e22d108a0b6b.tar.gz
ChangeLogTag:Sat Feb 22 09:06:45 2003 Ossama Othman <ossama@uci.edu>
-rw-r--r--TAO/ChangeLog8
-rw-r--r--TAO/tao/ValueFactory.h6
2 files changed, 11 insertions, 3 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog
index 7aed662d168..36c62c19508 100644
--- a/TAO/ChangeLog
+++ b/TAO/ChangeLog
@@ -1,3 +1,11 @@
+Sat Feb 22 09:06:45 2003 Ossama Othman <ossama@uci.edu>
+
+ * tao/ValueFactory.h (TAO_OBV_CREATE_RETURN_TYPE):
+ (TAO_OBV_REGISTER_FACTORY):
+
+ Removed space in macro definition that was incorrectly
+ introduced, and caused syntax errors in some builds.
+
Sat Feb 22 08:52:13 2003 Ossama Othman <ossama@uci.edu>
* orbsvcs/orbsvcs/SSLIOP/IIOP_SSL_Connector.cpp:
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 (\