diff --git a/src/common/string_view.h b/src/common/string_view.h index 3c2fc744..3d59ec4e 100644 --- a/src/common/string_view.h +++ b/src/common/string_view.h @@ -52,7 +52,7 @@ class StringView { StringView() = default; // Disallow construct StringView from nullptr. - StringView(nullptr_t) = delete; + StringView(std::nullptr_t) = delete; // Construct a StringView from a cstring. StringView(const char* str) : data_(str) {