summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2002-06-26 23:47:38 +0000
committerMarc Laukien <marc@zeroc.com>2002-06-26 23:47:38 +0000
commitc72eeaaafa03a11e1deb8fe542fdf8dfdd041fd8 (patch)
treedfb9c98f013ebf74628662c18655a65456adb942 /cpp/src
parentfixes (diff)
downloadice-c72eeaaafa03a11e1deb8fe542fdf8dfdd041fd8.tar.bz2
ice-c72eeaaafa03a11e1deb8fe542fdf8dfdd041fd8.tar.xz
ice-c72eeaaafa03a11e1deb8fe542fdf8dfdd041fd8.zip
fix
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/Slice/Parser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Slice/Parser.cpp b/cpp/src/Slice/Parser.cpp
index 6045aec0985..7a72d99b677 100644
--- a/cpp/src/Slice/Parser.cpp
+++ b/cpp/src/Slice/Parser.cpp
@@ -1086,10 +1086,10 @@ Slice::Container::hasOtherConstructedOrExceptions() const
}
string
-Slice::Container::thisScope()
+Slice::Container::thisScope() const
{
string s;
- ContainedPtr contained = ContainedPtr::dynamicCast(this);
+ ContainedPtr contained = ContainedPtr::dynamicCast(const_cast<Container*>(this));
if(contained)
{
s = contained->scoped();