We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 648c23a commit 9347930Copy full SHA for 9347930
1 file changed
lib/pathmatch.h
@@ -209,8 +209,12 @@ class PathMatch::PathIterator {
209
explicit PathIterator(const char *path_a = nullptr, const char *path_b = nullptr, Syntax syntax = platform_syntax) :
210
mStart{path_a, path_b}, mSyntax(syntax)
211
{
212
- const auto issep = [syntax] (char c) { return c == '/' || (syntax == Syntax::windows && c == '\\'); };
213
- const auto isdrive = [] (char c) { return (c >= 'A' && c <= 'Z' ) || (c >= 'a' && c <= 'z'); };
+ const auto issep = [syntax] (char c) {
+ return c == '/' || (syntax == Syntax::windows && c == '\\');
214
+ };
215
+ const auto isdrive = [] (char c) {
216
+ return (c >= 'A' && c <= 'Z') || (c >= 'a' && c <= 'z');
217
218
219
for (int i = 0; i < 2; i++) {
220
const char *&p = mEnd[i];
0 commit comments