Apply readability-container-size-empty

This commit is contained in:
Alexey Rybalchenko
2021-05-27 00:49:05 +02:00
committed by Dennis Klein
parent f25cca2073
commit c847a7ca02
17 changed files with 43 additions and 43 deletions

View File

@@ -469,7 +469,7 @@ class Socket final : public fair::mq::Socket
static int GetConstant(const std::string& constant)
{
if (constant == "") return 0;
if (constant.empty()) return 0;
if (constant == "sub") return ZMQ_SUB;
if (constant == "pub") return ZMQ_PUB;
if (constant == "xsub") return ZMQ_XSUB;