Skip to content

Commit f6a7f66

Browse files
committed
Remove [[nodiscard]] because it is only available from C++17
1 parent 2882d48 commit f6a7f66

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

include/osmium/tags/tags_filter.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,9 @@ namespace osmium {
159159
* Tag lists must be ordered in a consistent way.
160160
* The filter must return "false" for all tags that should be ignored.
161161
*/
162-
[[nodiscard]] inline bool compare_tags(osmium::TagList const &tags1,
163-
osmium::TagList const &tags2,
164-
TagsFilter const &filter)
162+
inline bool compare_tags(osmium::TagList const &tags1,
163+
osmium::TagList const &tags2,
164+
TagsFilter const &filter)
165165
{
166166
auto const end1 = tags1.cend();
167167
auto const end2 = tags2.cend();

0 commit comments

Comments
 (0)