Skip to content
Snippets Groups Projects
Commit 318fba03 authored by Tristan Matthews's avatar Tristan Matthews
Browse files

* #9782: fixed "inefficient emptiness test" cppcheck warning

parent e79abd22
No related branches found
No related tags found
No related merge requests found
...@@ -132,7 +132,7 @@ class AudioRtpRecordHandler { ...@@ -132,7 +132,7 @@ class AudioRtpRecordHandler {
} }
int DtmfPending() const { int DtmfPending() const {
return audioRtpRecord_.dtmfQueue_.size() > 0; return not audioRtpRecord_.dtmfQueue_.empty();
} }
const unsigned char *getMicDataEncoded() const { const unsigned char *getMicDataEncoded() const {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment