1
0
mirror of https://github.com/Zygo/bees.git synced 2025-05-17 13:25: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:
Zygo Blaxell 2020-11-04 22:29:29 -05:00
parent 97c167d63a
commit 1086900a9d

View File

@ -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>