From 815c3d19bf08db6d8ca34dc27f1deea455b75d52 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Mon, 19 Jan 2026 21:00:58 -0600 Subject: [PATCH] [ox/std] Make StringLiteral constructors non-explicit --- deps/ox/src/ox/std/stringliteral.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deps/ox/src/ox/std/stringliteral.hpp b/deps/ox/src/ox/std/stringliteral.hpp index adf41273..03e3678a 100644 --- a/deps/ox/src/ox/std/stringliteral.hpp +++ b/deps/ox/src/ox/std/stringliteral.hpp @@ -23,12 +23,12 @@ class StringLiteral: public detail::BaseStringView { constexpr StringLiteral(StringLiteral const &sv) noexcept = default; - consteval explicit StringLiteral(std::nullptr_t) noexcept {} + consteval StringLiteral(std::nullptr_t) noexcept {} - consteval explicit StringLiteral(char const *str, std::size_t const len) noexcept: BaseStringView{str, len} {} + consteval StringLiteral(char const *str, std::size_t const len) noexcept: BaseStringView{str, len} {} OX_ALLOW_UNSAFE_BUFFERS_BEGIN - consteval explicit StringLiteral(char const *str) noexcept: StringLiteral{str, ox::strlen(str)} {} + consteval StringLiteral(char const *str) noexcept: StringLiteral{str, ox::strlen(str)} {} OX_ALLOW_UNSAFE_BUFFERS_END constexpr StringLiteral &operator=(StringLiteral const &other) noexcept {