2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 05:55:28 +00:00

[2445] Add assert() after dynamic_cast

This commit is contained in:
Jelte Jansen
2012-12-10 11:26:41 +01:00
parent 7e30c020cd
commit 2a69f5cd6a

View File

@@ -262,7 +262,7 @@ void LoggerManagerImpl::flushBufferAppenders() {
for (it = copy.begin(); it != copy.end(); ++it) {
internal::BufferAppender* app =
dynamic_cast<internal::BufferAppender*>(it->get());
assert(app != NULL;
assert(app != NULL);
app->flush();
}
}