remove redundant clear() calls in Extractor.cpp
This commit is contained in:
parent
6859b53155
commit
49c817a60e
@ -189,7 +189,6 @@ int Extractor::Run(int argc, char *argv[])
|
|||||||
{
|
{
|
||||||
case osmium::item_type::node:
|
case osmium::item_type::node:
|
||||||
++number_of_nodes;
|
++number_of_nodes;
|
||||||
result_node.clear();
|
|
||||||
luabind::call_function<void>(
|
luabind::call_function<void>(
|
||||||
scripting_environment.getLuaState(),
|
scripting_environment.getLuaState(),
|
||||||
"node_function",
|
"node_function",
|
||||||
@ -199,7 +198,6 @@ int Extractor::Run(int argc, char *argv[])
|
|||||||
break;
|
break;
|
||||||
case osmium::item_type::way:
|
case osmium::item_type::way:
|
||||||
++number_of_ways;
|
++number_of_ways;
|
||||||
result_way.clear();
|
|
||||||
luabind::call_function<void>(
|
luabind::call_function<void>(
|
||||||
scripting_environment.getLuaState(),
|
scripting_environment.getLuaState(),
|
||||||
"way_function",
|
"way_function",
|
||||||
|
Loading…
Reference in New Issue
Block a user