mirror of
https://github.com/Zygo/bees.git
synced 2025-05-17 21:35:45 +02: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:
parent
97c167d63a
commit
1086900a9d
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user