refactor: byebye using namespace std
shoo
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
#include "../../Minecraft.World/Headers/net.minecraft.world.level.chunk.h"
|
||||
#include "../../Minecraft.World/Level/RandomLevelSource.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
class ServerChunkCache;
|
||||
|
||||
// 4J - various alterations here to make this thread safe, and operate as a fixed sized cache
|
||||
|
||||
@@ -5,7 +5,7 @@ class Socket;
|
||||
class LoginPacket;
|
||||
class Connection;
|
||||
class Random;
|
||||
using namespace std;
|
||||
|
||||
|
||||
class PendingConnection : public PacketListener
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@ class ServerLevel;
|
||||
class MinecraftServer;
|
||||
class Packet;
|
||||
class TileEntity;
|
||||
using namespace std;
|
||||
|
||||
|
||||
class PlayerChunkMap
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@ class Connection;
|
||||
class ServerPlayer;
|
||||
class INetworkPlayer;
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
||||
class PlayerConnection : public PacketListener, public ConsoleInputSource
|
||||
{
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#pragma once
|
||||
using namespace std;
|
||||
|
||||
|
||||
class PlayerInfo
|
||||
{
|
||||
|
||||
@@ -14,7 +14,7 @@ class ProgressListener;
|
||||
class GameType;
|
||||
class LoginPacket;
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
||||
class PlayerList
|
||||
{
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#include "../../Minecraft.World/Util/JavaIntHash.h"
|
||||
#include "../../Minecraft.World/Level/RandomLevelSource.h"
|
||||
#include "../../Minecraft.World/Util/C4JThread.h"
|
||||
using namespace std;
|
||||
|
||||
class ServerLevel;
|
||||
|
||||
class ServerChunkCache : public ChunkSource
|
||||
|
||||
@@ -5,7 +5,7 @@ class MinecraftServer;
|
||||
class Socket;
|
||||
class ServerSettingsChangedPacket;
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
||||
class ServerConnection
|
||||
{
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#pragma once
|
||||
using namespace std;
|
||||
|
||||
|
||||
class ServerInterface
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user