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:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user