From 06b79ffd2d00118c4ec119e0e13a893aebace5cc Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Tue, 15 Apr 2025 14:53:58 -0500 Subject: [PATCH] fix --- repertory/librepertory/src/utils/error_utils.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/repertory/librepertory/src/utils/error_utils.cpp b/repertory/librepertory/src/utils/error_utils.cpp index c504077b..4fb0da99 100644 --- a/repertory/librepertory/src/utils/error_utils.cpp +++ b/repertory/librepertory/src/utils/error_utils.cpp @@ -33,7 +33,7 @@ struct repertory_exception_handler final void handle_debug(std::string_view function_name, std::string_view msg) const override { repertory::event_system::instance().raise( - function_name, msg); + function_name, std::string{msg}); } void handle_error(std::string_view function_name, @@ -53,19 +53,19 @@ struct repertory_exception_handler final void handle_info(std::string_view function_name, std::string_view msg) const override { repertory::event_system::instance().raise( - function_name, msg); + function_name, std::string{msg}); } void handle_trace(std::string_view function_name, std::string_view msg) const override { repertory::event_system::instance().raise( - function_name, msg); + function_name, std::string{msg}); } void handle_warn(std::string_view function_name, std::string_view msg) const override { repertory::event_system::instance().raise( - function_name, msg); + function_name, std::string{msg}); } };