mirror of
https://github.com/tkuschel/bees.git
synced 2025-11-17 14:59:14 +01:00
string: second argument to stoull is technically a nullptr
This comes up if too many compiler warnings are enabled. Signed-off-by: Zygo Blaxell <bees@furryterror.org>
This commit is contained in:
@@ -16,7 +16,7 @@ namespace crucible {
|
||||
uint64_t
|
||||
from_hex(const string &s)
|
||||
{
|
||||
return stoull(s, 0, 0);
|
||||
return stoull(s, nullptr, 0);
|
||||
}
|
||||
|
||||
vector<string>
|
||||
|
||||
Reference in New Issue
Block a user