summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp')
-rw-r--r--cpp/demo/Freeze/casino/.gitignore11
-rw-r--r--cpp/src/slice2html/Gen.cpp8
-rw-r--r--cpp/test/Freeze/evictor/.gitignore3
3 files changed, 19 insertions, 3 deletions
diff --git a/cpp/demo/Freeze/casino/.gitignore b/cpp/demo/Freeze/casino/.gitignore
new file mode 100644
index 00000000000..f234b482045
--- /dev/null
+++ b/cpp/demo/Freeze/casino/.gitignore
@@ -0,0 +1,11 @@
+// Generated by makegitignore.py
+
+// IMPORTANT: Do not edit this file -- any edits made here will be lost!
+client
+server
+Casino.cpp
+CasinoStore.cpp
+Casino.h
+CasinoStore.h
+db/{__catalog,bet,bank,player}
+db/log.*
diff --git a/cpp/src/slice2html/Gen.cpp b/cpp/src/slice2html/Gen.cpp
index a7c9974160e..4d90f1698ae 100644
--- a/cpp/src/slice2html/Gen.cpp
+++ b/cpp/src/slice2html/Gen.cpp
@@ -1843,9 +1843,13 @@ TOCGenerator::writeEntry(const ContainedPtr& c)
{
_symbols.push_back(c);
}
- else if(ClassDeclPtr::dynamicCast(c))
+ else if(ClassDeclPtr cdecl = ClassDeclPtr::dynamicCast(c))
{
- _symbols.push_back(ClassDeclPtr::dynamicCast(c)->definition());
+ ContainedPtr definition = cdecl->definition();
+ if(definition)
+ {
+ _symbols.push_back(definition);
+ }
}
end();
}
diff --git a/cpp/test/Freeze/evictor/.gitignore b/cpp/test/Freeze/evictor/.gitignore
index 2eeff33817e..f4d669b200c 100644
--- a/cpp/test/Freeze/evictor/.gitignore
+++ b/cpp/test/Freeze/evictor/.gitignore
@@ -5,4 +5,5 @@ client
server
Test.cpp
Test.h
-db/*
+db/{__catalog,Test}
+db/log.*