Index: src/libchcore/TStringPatternArray.cpp
===================================================================
diff -u -N -r22c7d5559ca17c9b1859d2283b667516b23ac597 -r3401d5079f33b29a7783b65bfad5f34d89a33ba5
--- src/libchcore/TStringPatternArray.cpp	(.../TStringPatternArray.cpp)	(revision 22c7d5559ca17c9b1859d2283b667516b23ac597)
+++ src/libchcore/TStringPatternArray.cpp	(.../TStringPatternArray.cpp)	(revision 3401d5079f33b29a7783b65bfad5f34d89a33ba5)
@@ -24,22 +24,22 @@
 
 namespace chcore
 {
-	bool TStringPatternArray::MatchesAny(const TString& strTextToMatch) const
+	bool TStringPatternArray::MatchesAny(const TSmartPath& pathToMatch) const
 	{
 		for (const TStringPattern& pattern : m_vItems)
 		{
-			if (pattern.Matches(strTextToMatch))
+			if (pattern.Matches(pathToMatch))
 				return true;
 		}
 
 		return false;
 	}
 
-	bool TStringPatternArray::MatchesAll(const TString& strTextToMatch) const
+	bool TStringPatternArray::MatchesAll(const TSmartPath& pathToMatch) const
 	{
 		for (const TStringPattern& pattern : m_vItems)
 		{
-			if (!pattern.Matches(strTextToMatch))
+			if (!pattern.Matches(pathToMatch))
 				return false;
 		}