summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TAO/tao/Object.cpp4
-rw-r--r--TAO/tao/Object.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/TAO/tao/Object.cpp b/TAO/tao/Object.cpp
index a95bf711096..8afcab558a7 100644
--- a/TAO/tao/Object.cpp
+++ b/TAO/tao/Object.cpp
@@ -245,6 +245,8 @@ CORBA::is_nil (CORBA::Object_ptr obj)
return 0;
}
+#if (TAO_HAS_MINIMUM_CORBA == 0)
+
void
CORBA_Object::_create_request (CORBA::Context_ptr ctx,
const char *operation,
@@ -344,8 +346,6 @@ CORBA_Object::_request (const char *operation,
}
}
-#if (TAO_HAS_MINIMUM_CORBA == 0)
-
// NON_EXISTENT ... send a simple call to the object, which will
// either elicit a FALSE response or a OBJECT_NOT_EXIST exception. In
// the latter case, return FALSE.
diff --git a/TAO/tao/Object.h b/TAO/tao/Object.h
index bc631e78346..7d91a56e51a 100644
--- a/TAO/tao/Object.h
+++ b/TAO/tao/Object.h
@@ -103,8 +103,6 @@ public:
TAO_default_environment ()
);
-#endif /* TAO_HAS_MINIMUM_CORBA */
-
// Interface repository related operations.
// DII operations to create a request.
@@ -142,6 +140,8 @@ public:
CORBA_Environment &ACE_TRY_ENV =
TAO_default_environment ());
+#endif /* TAO_HAS_MINIMUM_CORBA */
+
#if (TAO_HAS_CORBA_MESSAGING == 1)
CORBA::Policy_ptr _get_policy (