diff --git a/include/snipplib/utils/snplib_string.h b/include/snipplib/utils/snplib_string.h index 552034c..8140a41 100644 --- a/include/snipplib/utils/snplib_string.h +++ b/include/snipplib/utils/snplib_string.h @@ -11,7 +11,7 @@ namespace snplib constexpr static bool snplib_is_space(char in) noexcept { - static constexpr auto ws = {' ', '\t', '\n', '\v', '\r', '\f'}; + static constexpr std::array ws = {' ', '\t', '\n', '\v', '\r', '\f'}; return std::ranges::any_of(ws, [in](auto p) { return p == in; }); };