From 082a79eebc57cc8bb77b680f1f2c8c4ba10e76df Mon Sep 17 00:00:00 2001 From: Ben Doherty Date: Mon, 13 Oct 2025 15:00:24 -0700 Subject: [PATCH] Fix, revert to C++17 string_view constructor (#9315) --- libs/utils/include/utils/Status.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/utils/include/utils/Status.h b/libs/utils/include/utils/Status.h index b3cb49b490..22a8eb4f35 100644 --- a/libs/utils/include/utils/Status.h +++ b/libs/utils/include/utils/Status.h @@ -98,7 +98,7 @@ public: * @return The message string. Can be empty if it's not set. */ std::string_view getMessage() const { - return std::string_view(mMessage.begin(), mMessage.end()); + return std::string_view(mMessage.begin(), mMessage.length()); } /**