From 3653eb538f8290c561f7c9ecce9a07a9f21777db Mon Sep 17 00:00:00 2001 From: wheremyfoodat <44909372+wheremyfoodat@users.noreply.github.com> Date: Thu, 27 Jul 2023 12:38:38 +0300 Subject: [PATCH] Fix struct & class confusion --- include/emulator.hpp | 2 +- include/httpserver.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/emulator.hpp b/include/emulator.hpp index b508338e..0e03bbba 100644 --- a/include/emulator.hpp +++ b/include/emulator.hpp @@ -61,7 +61,7 @@ class Emulator { #ifdef PANDA3DS_ENABLE_HTTP_SERVER HttpServer httpServer; - friend class HttpServer; + friend struct HttpServer; #endif // Keep the handle for the ROM here to reload when necessary and to prevent deleting it diff --git a/include/httpserver.hpp b/include/httpserver.hpp index 82aee2a4..3bb26e2f 100644 --- a/include/httpserver.hpp +++ b/include/httpserver.hpp @@ -18,7 +18,7 @@ enum class HttpActionType { None, Screenshot, Key, TogglePause, Reset, LoadRom } class Emulator; namespace httplib { class Server; - class Response; + struct Response; } // Wrapper for httplib::Response that allows the HTTP server to wait for the response to be ready