summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--functor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/functor.cpp b/functor.cpp
index 253f0e9..e9d723b 100644
--- a/functor.cpp
+++ b/functor.cpp
@@ -63,7 +63,7 @@ bool PropertyConditionBase::operator()(
std::map<std::string, std::vector<std::string>> mapperResponse;
mapperResponseMsg.read(mapperResponse);
- if (mapperResponse.begin() == mapperResponse.end())
+ if (mapperResponse.empty())
{
return false;
}
OpenPOWER on IntegriCloud