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<