diff options
author | volth <volth@webmaster.ms> | 2018-12-13T02·45+0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-13T02·45+0000 |
commit | 21d494da8304aa496721c7695573b9ad796a30be (patch) | |
tree | 10d9fdd743e6b2341aca3a66c28978773aa47047 /src | |
parent | 800cd55ab74fffe9a1d212c2b8caf4024ebd98b6 (diff) |
probably typo
...at least MSVC unable to compile this
Diffstat (limited to 'src')
-rw-r--r-- | src/libutil/util.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/util.cc b/src/libutil/util.cc index e12c4b258c25..ce50334e1e62 100644 --- a/src/libutil/util.cc +++ b/src/libutil/util.cc @@ -202,7 +202,7 @@ bool isInDir(const Path & path, const Path & dir) bool isDirOrInDir(const Path & path, const Path & dir) { - return path == dir or isInDir(path, dir); + return path == dir || isInDir(path, dir); } |