commit | 26f6976f3905d7b20690bbf794fba746c1929ed3 | [log] [tgz] |
---|---|---|
author | Ed Tanous <edtanous@google.com> | Tue Jan 25 09:49:11 2022 -0800 |
committer | Ed Tanous <ed@tanous.net> | Fri Jan 28 19:43:59 2022 +0000 |
tree | 7cfaea46d4e70ea7b46275195f7d7024cb999dac | |
parent | bb05f2227d53d590534d1df6e6a622e13cea76ae [diff] [blame] |
Enable readability-container-size-empty tests This one is a little trivial, but it does help in readability. Signed-off-by: Ed Tanous <edtanous@google.com> Change-Id: I5366d4eec8af2f781b3bad804131ae2eb806e3aa
diff --git a/include/nbd_proxy.hpp b/include/nbd_proxy.hpp index ed5265d..3f97f8c 100644 --- a/include/nbd_proxy.hpp +++ b/include/nbd_proxy.hpp
@@ -193,7 +193,7 @@ return; } - if (ws2uxBuf.size() == 0) + if (ws2uxBuf.empty()) { BMCWEB_LOG_ERROR << "No data to write to UNIX socket"; return;