diff options
author | George Hazan <george.hazan@gmail.com> | 2013-10-20 17:38:06 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-10-20 17:38:06 +0000 |
commit | 6183362250af373372830fbd5d4d952b0038bbfc (patch) | |
tree | 986e7c937720b5d93e00dcc2e7ee3b2f47a7286d /plugins/Boltun/src/Engine/WordsList.cpp | |
parent | 7e4a5794928702bf435f3d7be339a6c553fe618a (diff) |
more warning fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@6558 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Boltun/src/Engine/WordsList.cpp')
-rw-r--r-- | plugins/Boltun/src/Engine/WordsList.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/Boltun/src/Engine/WordsList.cpp b/plugins/Boltun/src/Engine/WordsList.cpp index 08cd150aaf..d9ba65aa90 100644 --- a/plugins/Boltun/src/Engine/WordsList.cpp +++ b/plugins/Boltun/src/Engine/WordsList.cpp @@ -37,7 +37,7 @@ WordsList::operator tstring() const while (true)
{
res += *it;
- it++;
+ ++it;
if (it != words.end())
res += _T(" ");
else
@@ -92,7 +92,7 @@ bool WordsList::MatchesAll(const vector<tstring>& s/*, bool& WasStrict*/, float& {
std::set<tstring> temp;
//WasStrict = true;
- for (vector<tstring>::const_iterator it = s.begin(); it != s.end(); it++)
+ for (vector<tstring>::const_iterator it = s.begin(); it != s.end(); ++it)
{
/* if (words.find(*it) == words.end())
if (unstrict)
@@ -114,7 +114,7 @@ bool WordsList::MatchesAll(const vector<tstring>& s/*, bool& WasStrict*/, float& bool WordsList::MatchesAny(const vector<tstring>& s) const
{
- for (vector<tstring>::const_iterator it = s.begin(); it != s.end(); it++)
+ for (vector<tstring>::const_iterator it = s.begin(); it != s.end(); ++it)
if (words.find(*it) != words.end())
return true;
return false;
@@ -123,7 +123,7 @@ bool WordsList::MatchesAny(const vector<tstring>& s) const vector<tstring> WordsList::ConsistsOf(const set<tstring>& list) const
{
vector<tstring> res;
- for (set<tstring>::const_iterator it = words.begin(); it != words.end(); it++)
+ for (set<tstring>::const_iterator it = words.begin(); it != words.end(); ++it)
if (list.find(*it) == list.end())
res.push_back(*it);
return res;
@@ -132,7 +132,7 @@ vector<tstring> WordsList::ConsistsOf(const set<tstring>& list) const vector<tstring> WordsList::DoesntIncludeAny(const set<tstring>& list) const
{
vector<tstring> res;
- for (set<tstring>::const_iterator it = words.begin(); it != words.end(); it++)
+ for (set<tstring>::const_iterator it = words.begin(); it != words.end(); ++it)
if (list.find(*it) != list.end())
res.push_back(*it);
return res;
|