Skip to content

Commit

Permalink
Readd mandatory prefix to avoid bbox filter collision
Browse files Browse the repository at this point in the history
  • Loading branch information
bagage committed Sep 23, 2017
1 parent 3775ee1 commit 228bf1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/overpass_api/statements/id_query.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ class Id_Query_Statement : public Output_Statement
virtual std::string dump_ql_in_query(const std::string& indent) const
{
std::vector< uint64 >::const_iterator it = refs.begin();
std::string result = "(";

std::string result = "(id:" + ::to_string(refs.size()) + ",";
if (it != refs.end())
result += ::to_string(*it++);
while (it != refs.end())
Expand Down

0 comments on commit 228bf1c

Please sign in to comment.