Closed alexandersolovyov closed 5 years ago
I removed this code, should be more idiomatic now.
It looks better. But why not cleaning 'vdr' now? May there be a memory leak?
@alexandersolovyov say> May there be a memory leak?
$ cppcheck -f -v . 2>cppcheck.log >/dev/null
$ wc -l cppcheck.log
0 cppcheck.log
Zvezdochiot, thanks for this 'cppcheck' command. It looks like all Ok. I didn't see wrapper class... Sorry for my inattention.
¯_(ツ)_/¯
I have an error when compiling
XKeyboard.cpp
file, using gcc compiler with option-std=gnu++11
. It says that '=' operator foristringstream
is deleted. From documentation, it seems that Copy operator is deleted. Maybe it's better to usestringstream
with operator<<
instead?