summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2007-01-08 14:47:25 +0000
committerDwayne Boone <dwayne@zeroc.com>2007-01-08 14:47:25 +0000
commit84fcbeccd1ef45b633d027bb6560bf6e186f466f (patch)
treee8a1892ebb6bde3813a786134421724f8752efde /cpp/src
parentMove SessionControl to Server adapter (diff)
downloadice-84fcbeccd1ef45b633d027bb6560bf6e186f466f.tar.bz2
ice-84fcbeccd1ef45b633d027bb6560bf6e186f466f.tar.xz
ice-84fcbeccd1ef45b633d027bb6560bf6e186f466f.zip
Fixed windows build error
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/slice2html/Gen.cpp6
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();
}
}