1234567891011121314151617181920212223242526 |
- diff --git a/src/filesystem/path_parser.h b/src/filesystem/path_parser.h
- index c6e63e8..630391f 100644
- --- a/src/filesystem/path_parser.h
- +++ b/src/filesystem/path_parser.h
- @@ -337,15 +337,19 @@ private:
- return consumeNSeparators(consumeName(P, End), End, 2);
- }
-
- - PosPtr consumeRootName(PosPtr P, PosPtr End) const noexcept {
- #if defined(_LIBCPP_WIN32API)
- + PosPtr consumeRootName(PosPtr P, PosPtr End) const noexcept {
- if (PosPtr Ret = consumeDriveLetter(P, End))
- return Ret;
- if (PosPtr Ret = consumeNetworkRoot(P, End))
- return Ret;
- -#endif
- return nullptr;
- }
- +#else
- + PosPtr consumeRootName(PosPtr /*P*/, PosPtr /*End*/) const noexcept {
- + return nullptr;
- + }
- +#endif
- };
-
- inline string_view_pair separate_filename(string_view_t const& s) {
|