mirror of
https://github.com/minetest/minetest.git
synced 2024-11-30 11:33:44 +01:00
Revert class forward declaration in {client,server}opcodes.h
closes #14324
This commit is contained in:
parent
40bf88ac74
commit
e1f6108789
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user