diff --git a/include/fmt/base.h b/include/fmt/base.h index f21aeb78..56d5c909 100644 --- a/include/fmt/base.h +++ b/include/fmt/base.h @@ -487,6 +487,8 @@ template class basic_string_view { constexpr basic_string_view(const Char* s, size_t count) noexcept : data_(s), size_(count) {} + constexpr basic_string_view(std::nullptr_t) = delete; + /** Constructs a string reference object from a C string. */