summaryrefslogtreecommitdiff
path: root/cpp/include/IceUtil/ScopedArray.h
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2009-12-03 15:05:04 -0330
committerDwayne Boone <dwayne@zeroc.com>2009-12-03 15:05:04 -0330
commitb5c76902b34afe4774e1d8b0b4707208895e729c (patch)
treef2d72ebb2a368c6fec9ad1b202d207f79b48f6c2 /cpp/include/IceUtil/ScopedArray.h
parentFixed minor inconsistency between hello graphical demos (diff)
downloadice-b5c76902b34afe4774e1d8b0b4707208895e729c.tar.bz2
ice-b5c76902b34afe4774e1d8b0b4707208895e729c.tar.xz
ice-b5c76902b34afe4774e1d8b0b4707208895e729c.zip
Fix C++Builder 2010 compile errors
Diffstat (limited to 'cpp/include/IceUtil/ScopedArray.h')
-rw-r--r--cpp/include/IceUtil/ScopedArray.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/include/IceUtil/ScopedArray.h b/cpp/include/IceUtil/ScopedArray.h
index 3a64076f26d..6836799f04b 100644
--- a/cpp/include/IceUtil/ScopedArray.h
+++ b/cpp/include/IceUtil/ScopedArray.h
@@ -28,7 +28,7 @@ public:
ScopedArray(const ScopedArray& other)
{
_ptr = other._ptr;
- other._ptr = 0;
+ const_cast<ScopedArray&>(other)._ptr = 0;
}
~ScopedArray()