From 41102fee4a4af0c540145bddb36aa7ac6c636eae Mon Sep 17 00:00:00 2001 From: matcool <26722564+matcool@users.noreply.github.com> Date: Mon, 26 Feb 2024 22:59:06 -0300 Subject: [PATCH] we have GEODE_STR already --- loader/src/server/Server.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/loader/src/server/Server.cpp b/loader/src/server/Server.cpp index abb92c3c..0a59bb59 100644 --- a/loader/src/server/Server.cpp +++ b/loader/src/server/Server.cpp @@ -4,10 +4,7 @@ using namespace server; -// Helpers for getting current GD version as a string for URL params -#define GEODE_GD_VERSION_STRINGIFY(version) # version -#define GEODE_GD_VERSION_STRINGIFY_2(version) GEODE_GD_VERSION_STRINGIFY(version) -#define GEODE_GD_VERSION_STR GEODE_GD_VERSION_STRINGIFY_2(GEODE_GD_VERSION) +#define GEODE_GD_VERSION_STR GEODE_STR(GEODE_GD_VERSION) static void parseServerError(auto reject, auto error) { // The server should return errors as `{ "error": "...", "payload": "" }`