From 42ece10b04c74739326d2e5b726bebc5f6daee8c Mon Sep 17 00:00:00 2001 From: Fleeym <61891787+Fleeym@users.noreply.github.com> Date: Tue, 7 Jan 2025 19:07:21 +0200 Subject: [PATCH] chore: fix ugly formatting --- loader/include/Geode/utils/file.hpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/loader/include/Geode/utils/file.hpp b/loader/include/Geode/utils/file.hpp index d7d638648..f9964d0aa 100644 --- a/loader/include/Geode/utils/file.hpp +++ b/loader/include/Geode/utils/file.hpp @@ -14,8 +14,7 @@ template <> struct matjson::Serialize { - static geode::Result fromJson(matjson::Value const& value) - { + static geode::Result fromJson(matjson::Value const& value) { GEODE_UNWRAP_INTO(const std::string str, value.asString()); #ifdef GEODE_IS_WINDOWS @@ -30,8 +29,7 @@ struct matjson::Serialize { #endif } - static matjson::Value toJson(std::filesystem::path const& value) - { + static matjson::Value toJson(std::filesystem::path const& value) { #ifdef GEODE_IS_WINDOWS // On Windows, paths are stored as utf16, and matjson uses utf8 internally // This is not an issue until paths actually use unicode characters