summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2002-09-21 18:51:49 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2002-09-21 18:51:49 +0000
commitc7f41499b7aab7464a829c7746d1d24f3b4b387b (patch)
treef40507a6946ee3173f284efbf4584b049f5e509a
parentfe34ec35a23bd4c89f92f78f86db002894732a4f (diff)
downloadATCD-c7f41499b7aab7464a829c7746d1d24f3b4b387b.tar.gz
ChangeLogTag:Sat Sep 21 13:49:27 2002 Ossama Othman <ossama@uci.edu>
-rw-r--r--TAO/ChangeLog8
-rw-r--r--TAO/tao/PortableInterceptorC.cpp2
2 files changed, 9 insertions, 1 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog
index 44001aecd67..d266e686924 100644
--- a/TAO/ChangeLog
+++ b/TAO/ChangeLog
@@ -1,3 +1,11 @@
+Sat Sep 21 13:49:27 2002 Ossama Othman <ossama@uci.edu>
+
+ * tao/PortableInterceptorC.cpp (_create_policy):
+
+ Removed default argument value. Default values should only be
+ set in method/function prototypes, not the implementations.
+ Fixes a warning exhibited by g++ 3.2.
+
Sat Sep 21 12:42:25 2002 Ossama Othman <ossama@uci.edu>
* orbsvcs/orbsvcs/Naming/Naming_Context_Interface.h:
diff --git a/TAO/tao/PortableInterceptorC.cpp b/TAO/tao/PortableInterceptorC.cpp
index 0ffe8b4bc0e..62a2213a918 100644
--- a/TAO/tao/PortableInterceptorC.cpp
+++ b/TAO/tao/PortableInterceptorC.cpp
@@ -3520,7 +3520,7 @@ PortableInterceptor::PolicyFactory::_duplicate (PolicyFactory_ptr obj)
::CORBA::Policy_ptr
PortableInterceptor::PolicyFactory::_create_policy (CORBA::PolicyType
- ACE_ENV_ARG_DECL_WITH_DEFAULTS)
+ ACE_ENV_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException,
CORBA::PolicyError))
{