From 9993a3e4226788246bb136d89b632ddfaa5531c4 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 (synced from 815c3d19bf08db6d8ca34dc27f1deea455b75d52) --- src/ox/std/stringliteral.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ox/std/stringliteral.hpp b/src/ox/std/stringliteral.hpp index adf412730..03e3678a2 100644 --- a/src/ox/std/stringliteral.hpp +++ b/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 {