Search() should take value, not reference

This commit is contained in:
Andrzej Rybczak
2009-02-05 18:37:19 +01:00
parent edeb2fa37d
commit 2df9b1ab3f
2 changed files with 2 additions and 2 deletions

View File

@@ -117,7 +117,7 @@ void PrepareSearchEngine(SearchPattern &s)
*mSearcher->at(16).first << "Reset";
}
void Search(SearchPattern &s)
void Search(SearchPattern s)
{
if (s.Empty())
return;