diff options
-rw-r--r-- | TAO/ChangeLog | 8 | ||||
-rw-r--r-- | TAO/tao/PortableInterceptorC.cpp | 2 |
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)) { |