mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-05-31 01:25:21 +00:00
dding a timer delay but linak issue
This commit is contained in:
@@ -91,4 +91,12 @@ namespace BBM
|
||||
return strings;
|
||||
}
|
||||
|
||||
bool Utils::tryParseLong(const std::string &s, long &l)
|
||||
{
|
||||
std::istringstream iss(s);
|
||||
|
||||
iss >> std::noskipws >> l;
|
||||
return iss.eof() && !iss.fail();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user