Skip to content

Commit

Permalink
chore: fix ugly formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Fleeym committed Jan 7, 2025
1 parent 62835dc commit 42ece10
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions loader/include/Geode/utils/file.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@

template <>
struct matjson::Serialize<std::filesystem::path> {
static geode::Result<std::filesystem::path, std::string> fromJson(matjson::Value const& value)
{
static geode::Result<std::filesystem::path> fromJson(matjson::Value const& value) {
GEODE_UNWRAP_INTO(const std::string str, value.asString());

#ifdef GEODE_IS_WINDOWS
Expand All @@ -30,8 +29,7 @@ struct matjson::Serialize<std::filesystem::path> {
#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
Expand Down

0 comments on commit 42ece10

Please sign in to comment.