commit | 8ed114b6eec804d946981b1e7cd8da324de5d59f | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Thu Mar 09 15:28:43 2017 -0600 |
committer | Patrick Williams <patrick@stwcx.xyz> | Thu Mar 09 15:29:20 2017 -0600 |
tree | 91736ac892609b3b08a0e098cfa4683e9a7d1aca | |
parent | 9b86483fc4790f728e57ea6385d3b7f28d1f4157 [diff] |
functor: remove unnecessary iterator comparison Change-Id: If21765193d26a6908c4a85cbbc23da7d54acb222 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/functor.cpp b/functor.cpp index 253f0e9..e9d723b 100644 --- a/functor.cpp +++ b/functor.cpp
@@ -63,7 +63,7 @@ std::map<std::string, std::vector<std::string>> mapperResponse; mapperResponseMsg.read(mapperResponse); - if (mapperResponse.begin() == mapperResponse.end()) + if (mapperResponse.empty()) { return false; }