diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/StringUtils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/StringUtils.cpp b/src/StringUtils.cpp index 48486a762..4eb2d48b6 100644 --- a/src/StringUtils.cpp +++ b/src/StringUtils.cpp @@ -914,7 +914,7 @@ AStringVector MergeStringVectors(const AStringVector & a_Strings1, const AString // Add each item from strings2 that is not already present: for (auto item : a_Strings2) { - if (std::find(res.begin(), res.end(), item) != res.end()) + if (std::find(res.begin(), res.end(), item) == res.end()) { res.push_back(item); } |