mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-04-07 16:26:04 +00:00
Implement Assertion properly, TID printing in debug builds
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
#define SOCKET int
|
||||
#endif
|
||||
#include "Buffer.h"
|
||||
#include "Assert.h"
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <chrono>
|
||||
@@ -65,6 +66,7 @@ struct ClientInterface{
|
||||
c = nullptr;
|
||||
}
|
||||
void AddClient(Client *c){
|
||||
Assert(c);
|
||||
Clients.insert(c);
|
||||
}
|
||||
int Size(){
|
||||
|
||||
Reference in New Issue
Block a user