fix: Last warnings fixed.

master
polistern 2022-10-03 18:52:53 +00:00
parent 49182ee502
commit d18d284e05
Signed by: polistern
GPG Key ID: E131651B5A988EAC
1 changed files with 2 additions and 2 deletions

View File

@ -74,7 +74,7 @@ namespace SAM
typedef u_int SOCKET;
static void print_error(const std::string &err)
static inline void print_error(const std::string &err)
{
#ifdef DEBUG_ON_STDOUT
#ifdef WIN32
@ -347,7 +347,7 @@ struct FullDestination
{
std::string pub;
std::string priv;
bool isGenerated;
bool isGenerated = false;
FullDestination() {}
FullDestination(const std::string &pub, const std::string &priv, bool isGenerated)