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
Stack Of Tasks
dynamic-graph
Commits
408197f6
Commit
408197f6
authored
Jun 26, 2020
by
Olivier Stasse
Browse files
[real-time-logger-def] Add a virtual destructor to a class with virtual methods.
parent
0fcdca60
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/dynamic-graph/real-time-logger-def.h
View file @
408197f6
...
...
@@ -32,6 +32,7 @@ public:
class
LoggerIOStream
:
public
LoggerStream
{
public:
LoggerIOStream
(
std
::
ostream
&
os
)
:
os_
(
os
)
{}
virtual
~
LoggerIOStream
()
{}
virtual
void
write
(
const
char
*
c
)
{
os_
<<
c
;
}
private:
...
...
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