From dc118dcb6d63c27e828c96745e74eb55c8191175 Mon Sep 17 00:00:00 2001 From: Jeremy Rifkin <51220084+jeremy-rifkin@users.noreply.github.com> Date: Sun, 26 Jan 2025 23:03:42 -0600 Subject: [PATCH] Move monostate --- src/utils/result.hpp | 2 -- src/utils/utils.hpp | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/result.hpp b/src/utils/result.hpp index dea6e16..3ffbd2f 100644 --- a/src/utils/result.hpp +++ b/src/utils/result.hpp @@ -132,8 +132,6 @@ namespace detail { } } }; - - struct monostate {}; } } diff --git a/src/utils/utils.hpp b/src/utils/utils.hpp index bc26764..b546246 100644 --- a/src/utils/utils.hpp +++ b/src/utils/utils.hpp @@ -185,6 +185,8 @@ namespace detail { return static_cast(v); } + struct monostate {}; + // TODO: Rework some stuff here. Not sure deleters should be optional or moved. // Also allow file_wrapper file = std::fopen(object_path.c_str(), "rb"); template<