Skip to content

Commit 625d613

Browse files
committed
Update comment
1 parent 0713512 commit 625d613

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/pathmatch.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ class CPPCHECKLIB PathMatch {
142142
**/
143143
class PathMatch::PathIterator {
144144
public:
145-
/* Create from a pattern and base path */
145+
/* Create from a pattern and base path, patterns must begin with '.' to be considered relative */
146146
static PathIterator from_pattern(const std::string &pattern, const std::string &basepath, bool icase)
147147
{
148148
if (!pattern.empty() && pattern[0] == '.')

0 commit comments

Comments
 (0)