mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2024-11-10 01:10:32 +00:00
make it compile :D
This commit is contained in:
parent
ce9c9411b1
commit
ce30f89c60
@ -107,7 +107,7 @@ namespace client
|
|||||||
std::placeholders::_1, std::placeholders::_2));
|
std::placeholders::_1, std::placeholders::_2));
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool SAMVersionAccceptable(const std::string & ver)
|
static bool SAMVersionAcceptable(const std::string & ver)
|
||||||
{
|
{
|
||||||
return ver == "3.0" || ver == "3.1";
|
return ver == "3.0" || ver == "3.1";
|
||||||
}
|
}
|
||||||
@ -117,7 +117,7 @@ namespace client
|
|||||||
return ver.size() && ver[0] < '3';
|
return ver.size() && ver[0] < '3';
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool SAMVersionTooHigh(const std:::string & ver)
|
static bool SAMVersionTooHigh(const std::string & ver)
|
||||||
{
|
{
|
||||||
return ver.size() && ver > "3.1";
|
return ver.size() && ver > "3.1";
|
||||||
}
|
}
|
||||||
@ -172,7 +172,7 @@ namespace client
|
|||||||
{
|
{
|
||||||
version = minver;
|
version = minver;
|
||||||
}
|
}
|
||||||
else if (SAMVersionTooLow(minver) && SAMVersionIsTooHigh(maxver))
|
else if (SAMVersionTooLow(minver) && SAMVersionTooHigh(maxver))
|
||||||
{
|
{
|
||||||
version = "3.0";
|
version = "3.0";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user