summaryrefslogtreecommitdiff
path: root/cpp/src/slice2html/Gen.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2007-06-28 10:58:08 -0230
committerDwayne Boone <dwayne@zeroc.com>2007-06-28 10:58:08 -0230
commit5653acbe4e5cb1312555d60cddb4a4b7a23b62b6 (patch)
treee9e5543fd1e4a11b0b2f0e6c515a104244e36dde /cpp/src/slice2html/Gen.cpp
parentMerge branch 'master' of ssh://cvs.zeroc.com/home/git/ice (diff)
downloadice-5653acbe4e5cb1312555d60cddb4a4b7a23b62b6.tar.bz2
ice-5653acbe4e5cb1312555d60cddb4a4b7a23b62b6.tar.xz
ice-5653acbe4e5cb1312555d60cddb4a4b7a23b62b6.zip
Fixed VS8 compile error
Diffstat (limited to 'cpp/src/slice2html/Gen.cpp')
-rw-r--r--cpp/src/slice2html/Gen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/slice2html/Gen.cpp b/cpp/src/slice2html/Gen.cpp
index 4d90f1698ae..3cd022c2b90 100644
--- a/cpp/src/slice2html/Gen.cpp
+++ b/cpp/src/slice2html/Gen.cpp
@@ -1843,9 +1843,9 @@ TOCGenerator::writeEntry(const ContainedPtr& c)
{
_symbols.push_back(c);
}
- else if(ClassDeclPtr cdecl = ClassDeclPtr::dynamicCast(c))
+ else if(ClassDeclPtr::dynamicCast(c))
{
- ContainedPtr definition = cdecl->definition();
+ ContainedPtr definition = ClassDeclPtr::dynamicCast(c)->definition();
if(definition)
{
_symbols.push_back(definition);