summaryrefslogtreecommitdiff
path: root/TAO/tao/TAOC.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/TAOC.h')
-rw-r--r--TAO/tao/TAOC.h21
1 files changed, 9 insertions, 12 deletions
diff --git a/TAO/tao/TAOC.h b/TAO/tao/TAOC.h
index 9815ef2a80f..a7b10c3ff0c 100644
--- a/TAO/tao/TAOC.h
+++ b/TAO/tao/TAOC.h
@@ -176,7 +176,7 @@ TAO_NAMESPACE TAO
static BufferingConstraintPolicy_ptr tao_duplicate (BufferingConstraintPolicy_ptr);
static void tao_release (BufferingConstraintPolicy_ptr);
static BufferingConstraintPolicy_ptr tao_nil (void);
- static BufferingConstraintPolicy_ptr tao_narrow (CORBA::Object *, CORBA::Environment &);
+ static BufferingConstraintPolicy_ptr tao_narrow (CORBA::Object * TAO_ENV_ARG_DECL_NOT_USED);
static CORBA::Object * tao_upcast (void *);
private:
@@ -230,24 +230,21 @@ class TAO_Export BufferingConstraintPolicy: public virtual CORBA::Policy
// the static operations
static BufferingConstraintPolicy_ptr _duplicate (BufferingConstraintPolicy_ptr obj);
static BufferingConstraintPolicy_ptr _narrow (
- CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
+ CORBA::Object_ptr obj
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS);
+
static BufferingConstraintPolicy_ptr _unchecked_narrow (
- CORBA::Object_ptr obj,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
+ CORBA::Object_ptr obj
+ TAO_ENV_ARG_DECL_WITH_DEFAULTS);
+
static BufferingConstraintPolicy_ptr _nil (void)
{
return (BufferingConstraintPolicy_ptr)0;
}
virtual TAO::BufferingConstraint buffering_constraint (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
+ TAO_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+
ACE_THROW_SPEC ((
CORBA::SystemException
)) = 0;