summaryrefslogtreecommitdiff
path: root/TAO/tao/Environment.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Environment.h')
-rw-r--r--TAO/tao/Environment.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/TAO/tao/Environment.h b/TAO/tao/Environment.h
index cab9a5f89e8..c2b51ce77b7 100644
--- a/TAO/tao/Environment.h
+++ b/TAO/tao/Environment.h
@@ -15,6 +15,7 @@
* @author Carlos O'Ryan <coryan@cs.wustl.edu>
*/
//=============================================================================
+
#ifndef TAO_ENVIRONMENT_H
#define TAO_ENVIRONMENT_H
@@ -149,6 +150,12 @@ namespace CORBA
/// The previous environment on the "default environment stack".
Environment *previous_;
};
+
+ template<>
+ inline void release (Environment_ptr env)
+ {
+ delete env;
+ }
} // End CORBA namespace
TAO_END_VERSIONED_NAMESPACE_DECL