Skip to content

Commit a3ee6d0

Browse files
committed
Fix shadowing
1 parent 8d37891 commit a3ee6d0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lib/pathmatch.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -222,14 +222,14 @@ class PathMatch::PathIterator {
222222
/* Consume remaining characters into an std::string and reverse, use for testing */
223223
std::string read()
224224
{
225-
std::string s;
225+
std::string str;
226226

227227
while (current() != '\0') {
228-
s.insert(0, 1, current());
228+
str.insert(0, 1, current());
229229
advance();
230230
}
231231

232-
return s;
232+
return str;
233233
}
234234

235235
private:

0 commit comments

Comments
 (0)