Migrate to C++17. Update sol2 to 3.3.0.
This commit is contained in:
parent
55a0b746e8
commit
ddd8fe64f3
@ -939,11 +939,13 @@ Sol2ScriptingEnvironment::GetStringListFromFunction(const std::string &function_
|
|||||||
return strings;
|
return strings;
|
||||||
}
|
}
|
||||||
|
|
||||||
namespace {
|
namespace
|
||||||
|
{
|
||||||
|
|
||||||
// string list can be defined either as a Set(see profiles/lua/set.lua) or as a Sequence (see profiles/lua/sequence.lua)
|
// string list can be defined either as a Set(see profiles/lua/set.lua) or as a Sequence (see
|
||||||
// `Set` is a table with keys that are actual values we are looking for and values that always `true`.
|
// profiles/lua/sequence.lua) `Set` is a table with keys that are actual values we are looking for
|
||||||
// `Sequence` is a table with keys that are indices and values that are actual values we are looking for.
|
// and values that always `true`. `Sequence` is a table with keys that are indices and values that
|
||||||
|
// are actual values we are looking for.
|
||||||
|
|
||||||
std::string GetSetOrSequenceValue(const std::pair<sol::object, sol::object> &pair)
|
std::string GetSetOrSequenceValue(const std::pair<sol::object, sol::object> &pair)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user