Commit 2a69f5cd authored by Jelte Jansen's avatar Jelte Jansen
Browse files

[2445] Add assert() after dynamic_cast

parent 7e30c020
......@@ -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();
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment