Mercurial > hg > orthanc
diff OrthancFramework/Sources/Toolbox.h @ 4981:d0c34145320c
cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 25 Apr 2022 17:32:58 +0200 |
parents | 96a3e81eba90 |
children | 95d8e0540219 |
line wrap: on
line diff
--- a/OrthancFramework/Sources/Toolbox.h Mon Apr 25 15:50:57 2022 +0200 +++ b/OrthancFramework/Sources/Toolbox.h Mon Apr 25 17:32:58 2022 +0200 @@ -197,7 +197,7 @@ template <typename T> static bool IsSetInSet(const std::set<T>& needles, const std::set<T>& haystack) { for (typename std::set<T>::const_iterator it = needles.begin(); - it != needles.end(); it++) + it != needles.end(); ++it) { if (haystack.count(*it) == 0) { @@ -214,7 +214,7 @@ missings.clear(); for (typename std::set<T>::const_iterator it = needles.begin(); - it != needles.end(); it++) + it != needles.end(); ++it) { if (haystack.count(*it) == 0) { @@ -228,7 +228,7 @@ template <typename T> static void AppendSets(std::set<T>& target, const std::set<T>& toAppend) { for (typename std::set<T>::const_iterator it = toAppend.begin(); - it != toAppend.end(); it++) + it != toAppend.end(); ++it) { target.insert(*it); } @@ -237,7 +237,7 @@ template <typename T> static void RemoveSets(std::set<T>& target, const std::set<T>& toRemove) { for (typename std::set<T>::const_iterator it = toRemove.begin(); - it != toRemove.end(); it++) + it != toRemove.end(); ++it) { target.erase(*it); }