From 0bd7070ec5c991b66ba04fda808a76e395c7a294 Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Thu, 17 Oct 2024 10:21:22 -0500 Subject: [PATCH] refactor --- repertory/librepertory/src/utils/error_utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repertory/librepertory/src/utils/error_utils.cpp b/repertory/librepertory/src/utils/error_utils.cpp index 2df9355d..80acbdcf 100644 --- a/repertory/librepertory/src/utils/error_utils.cpp +++ b/repertory/librepertory/src/utils/error_utils.cpp @@ -44,7 +44,7 @@ struct repertory_exception_handler final } }; -static std::unique_ptr handler{([]() -> auto * { +std::unique_ptr handler{([]() -> auto * { auto *ptr = new repertory_exception_handler{}; repertory::utils::error::set_exception_handler(ptr); return ptr;