[General]: Use {} default ctor (#865)
This commit is contained in:
parent
78dde29067
commit
a52337bbac
@ -19,7 +19,7 @@ namespace Components
|
||||
static unsigned __int64 GetKeyHash(const std::string& key);
|
||||
|
||||
static uint32_t GetSecurityLevel();
|
||||
static void IncreaseSecurityLevel(uint32_t level, const std::string& command = "");
|
||||
static void IncreaseSecurityLevel(uint32_t level, const std::string& command = {});
|
||||
|
||||
static uint32_t GetZeroBits(Utils::Cryptography::Token token, const std::string& publicKey);
|
||||
static void IncrementToken(Utils::Cryptography::Token& token, Utils::Cryptography::Token& computeToken, const std::string& publicKey, uint32_t zeroBits, bool* cancel = nullptr, uint64_t* count = nullptr);
|
||||
|
@ -65,8 +65,8 @@ namespace Components
|
||||
static void SendRaw(Game::netsrc_t type, Address target, const std::string& data);
|
||||
|
||||
// Send quake-style command using binary data
|
||||
static void SendCommand(Address target, const std::string& command, const std::string& data = "");
|
||||
static void SendCommand(Game::netsrc_t type, Address target, const std::string& command, const std::string& data = "");
|
||||
static void SendCommand(Address target, const std::string& command, const std::string& data = {});
|
||||
static void SendCommand(Game::netsrc_t type, Address target, const std::string& command, const std::string& data = {});
|
||||
|
||||
static void Broadcast(unsigned short port, const std::string& data);
|
||||
static void BroadcastRange(unsigned int min, unsigned int max, const std::string& data);
|
||||
|
Loading…
Reference in New Issue
Block a user