Revert class forward declaration in {client,server}opcodes.h

closes #14324
This commit is contained in:
sfan5 2024-01-30 17:03:29 +01:00
parent 40bf88ac74
commit e1f6108789
2 changed files with 4 additions and 2 deletions

@ -20,10 +20,11 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#pragma once
#include "client/client.h"
#include "networkprotocol.h"
class NetworkPacket;
class Client;
// Note: don't forward-declare Client here (#14324)
enum ToClientConnectionState {
TOCLIENT_STATE_NOT_CONNECTED,

@ -20,10 +20,11 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#pragma once
#include "server.h"
#include "networkprotocol.h"
class NetworkPacket;
class Server;
// Note: don't forward-declare Server here (#14324)
enum ToServerConnectionState {
TOSERVER_STATE_NOT_CONNECTED,