Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
2a69f5cd
Commit
2a69f5cd
authored
Dec 10, 2012
by
Jelte Jansen
Browse files
[2445] Add assert() after dynamic_cast
parent
7e30c020
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/log/logger_manager_impl.cc
View file @
2a69f5cd
...
...
@@ -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
();
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment