Update to sol2 v2.20.6

This commit is contained in:
Desone Burns II
2020-11-18 17:01:43 -07:00
parent dfc1bfc27e
commit deacc8fb5c
409 changed files with 386663 additions and 14519 deletions
+1 -1
View File
@@ -259,7 +259,7 @@ void Sol2ScriptingEnvironment::InitContext(LuaScriptingContext &context)
"version",
&osmium::Way::version,
"get_nodes",
[](const osmium::Way &way) { return sol::as_table(way.nodes()); },
[](const osmium::Way &way) { return sol::as_table(&way.nodes()); },
"get_location_tag",
[&context, &get_location_tag](const osmium::Way &way, const char *key) {
// HEURISTIC: use a single node (last) of the way to localize the way