diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2007-06-28 10:58:08 -0230 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2007-06-28 10:58:08 -0230 |
commit | 5653acbe4e5cb1312555d60cddb4a4b7a23b62b6 (patch) | |
tree | e9e5543fd1e4a11b0b2f0e6c515a104244e36dde /cpp/src/slice2html/Gen.cpp | |
parent | Merge branch 'master' of ssh://cvs.zeroc.com/home/git/ice (diff) | |
download | ice-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.cpp | 4 |
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); |