summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2003-10-23 03:24:56 +0000
committerMark Spruiell <mes@zeroc.com>2003-10-23 03:24:56 +0000
commit6f1aa17155b2637890a5f3e0bb37bf2484a0028b (patch)
tree7fdda4d99d13713463afa7d8682d945b2c1fae39 /cpp/src
parentadding != operator (diff)
downloadice-6f1aa17155b2637890a5f3e0bb37bf2484a0028b.tar.bz2
ice-6f1aa17155b2637890a5f3e0bb37bf2484a0028b.tar.xz
ice-6f1aa17155b2637890a5f3e0bb37bf2484a0028b.zip
adding release()
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/Transform/TransformUtil.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/src/Transform/TransformUtil.h b/cpp/src/Transform/TransformUtil.h
index fab1ef8ecee..5f9f5065e83 100644
--- a/cpp/src/Transform/TransformUtil.h
+++ b/cpp/src/Transform/TransformUtil.h
@@ -40,6 +40,11 @@ public:
_p = p;
}
+ void release()
+ {
+ _p = 0;
+ }
+
private:
T _p;