diff --git a/deps/ox/src/ox/std/maybeview.hpp b/deps/ox/src/ox/std/maybeview.hpp index 149cd97f..9860e4d6 100644 --- a/deps/ox/src/ox/std/maybeview.hpp +++ b/deps/ox/src/ox/std/maybeview.hpp @@ -8,7 +8,10 @@ #pragma once -#include "typetraits.hpp" +#if __has_include() +#include +#include +#endif namespace ox { @@ -23,4 +26,11 @@ struct MaybeView { template using MaybeView_t = typename MaybeView::type; +#if __has_include() +template +struct MaybeView> { + using type = std::basic_string_view; +}; +#endif + }