Fix struct & class confusion
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user