fix build by using std::string cast

This commit is contained in:
mjkzy 2022-07-05 22:45:37 -05:00
parent 8f2a010ea7
commit 4f6ff6c2e7

View File

@ -100,7 +100,7 @@ namespace bots
const auto names = bots.GetArray(); const auto names = bots.GetArray();
for (const auto& name : names) for (const auto& name : names)
{ {
bot_names.emplace_back(name.Get<std::string>()); bot_names.emplace_back(std::string(name.GetString()));
} }
} }