Commit 318fba03 authored by Tristan Matthews's avatar Tristan Matthews

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

parent e79abd22
......@@ -132,7 +132,7 @@ class AudioRtpRecordHandler {
}
int DtmfPending() const {
return audioRtpRecord_.dtmfQueue_.size() > 0;
return not audioRtpRecord_.dtmfQueue_.empty();
}
const unsigned char *getMicDataEncoded() const {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment