diff options
Diffstat (limited to 'cpp/src/slice2html/Gen.cpp')
-rw-r--r-- | cpp/src/slice2html/Gen.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/slice2html/Gen.cpp b/cpp/src/slice2html/Gen.cpp index ccab207775f..afe941b4ce0 100644 --- a/cpp/src/slice2html/Gen.cpp +++ b/cpp/src/slice2html/Gen.cpp @@ -1421,10 +1421,10 @@ TOCGenerator::writeEntry(const ContainedPtr& c) ClassDefPtr cdef = ClassDefPtr::dynamicCast(c); if(!cdef) { - ClassDeclPtr cdecl = ClassDeclPtr::dynamicCast(c); - if(cdecl) + ClassDeclPtr cdec = ClassDeclPtr::dynamicCast(c); + if(cdec) { - cdef = cdecl->definition(); + cdef = cdec->definition(); } } |