From 06732add178f59aa6ac00c6a339cb63411c2c409 Mon Sep 17 00:00:00 2001 From: Jeremy Rifkin <51220084+jeremy-rifkin@users.noreply.github.com> Date: Sun, 26 Jan 2025 17:34:02 -0600 Subject: [PATCH] Try to fix tests on CI --- src/utils/result.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/result.hpp b/src/utils/result.hpp index 0af019c..3e0eee1 100644 --- a/src/utils/result.hpp +++ b/src/utils/result.hpp @@ -22,13 +22,13 @@ namespace detail { public: Result(T&& value) : value_(std::move(value)), active(member::value) {} Result(E&& error) : error_(std::move(error)), active(member::error) { - if(!absorb_trace_exceptions.load()) { + if(!should_absorb_trace_exceptions()) { std::fprintf(stderr, "%s\n", unwrap_error().what()); } } Result(T& value) : value_(T(value)), active(member::value) {} Result(E& error) : error_(E(error)), active(member::error) { - if(!absorb_trace_exceptions.load()) { + if(!should_absorb_trace_exceptions()) { std::fprintf(stderr, "%s\n", unwrap_error().what()); } }