diff options
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); |