We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6065de commit ca68518Copy full SHA for ca68518
src/extractor/scripting_environment_lua.cpp
@@ -259,7 +259,7 @@ void Sol2ScriptingEnvironment::InitContext(LuaScriptingContext &context)
259
"version",
260
&osmium::Way::version,
261
"get_nodes",
262
- [&context](const osmium::Way &way) { return sol::as_table(&way.nodes()); },
+ [](const osmium::Way &way) { return sol::as_table(&way.nodes()); },
263
"get_location_tag",
264
[&context, &get_location_tag](const osmium::Way &way, const char *key) {
265
// HEURISTIC: use a single node (last) of the way to localize the way
0 commit comments