mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-09-12 22:45:02 -04:00
flint++ static analyzer detected items (not all that were likely legit positives, but a start) as well as some clang detected unused vars, cleanup_
This commit is contained in:
@@ -26,7 +26,7 @@ public:
|
||||
void onReceive (const Archive::ByteStream & message);
|
||||
void receiveMessage (const MessageDispatch::Emitter & source, const MessageDispatch::MessageBase & message);
|
||||
private:
|
||||
CentralServerConnection(CentralServerConnection&);
|
||||
CentralServerConnection(const CentralServerConnection&);
|
||||
CentralServerConnection& operator=(CentralServerConnection&);
|
||||
};
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ private:
|
||||
ChunkCompleteQueueType * const m_chunkCompleteQueue;
|
||||
|
||||
private:
|
||||
GameServerConnection(GameServerConnection&);
|
||||
GameServerConnection(const GameServerConnection&);
|
||||
GameServerConnection& operator=(GameServerConnection&);
|
||||
};
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@ class LazyDeleter
|
||||
~LazyDeleter();
|
||||
|
||||
private:
|
||||
LazyDeleter(LazyDeleter&); //disable
|
||||
LazyDeleter(const LazyDeleter&); //disable
|
||||
LazyDeleter &operator=(const LazyDeleter&); //disable
|
||||
|
||||
private:
|
||||
|
||||
@@ -191,7 +191,7 @@ class Persister : public MessageDispatch::Receiver
|
||||
static void installDerived(Persister *derivedInstance);
|
||||
|
||||
private:
|
||||
Persister(Persister&); //disable
|
||||
Persister(const Persister&); //disable
|
||||
Persister &operator=(const Persister&); //disable
|
||||
|
||||
private:
|
||||
|
||||
@@ -20,7 +20,7 @@ public:
|
||||
void onConnectionOpened ();
|
||||
|
||||
private:
|
||||
TaskManagerConnection(TaskManagerConnection&);
|
||||
TaskManagerConnection(const TaskManagerConnection&);
|
||||
TaskManagerConnection& operator=(TaskManagerConnection&);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user