Skip to content

Fix return type. #347

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 24, 2022
Merged

Fix return type. #347

merged 1 commit into from
Feb 24, 2022

Conversation

a-balashov
Copy link
Contributor

Hello! I get an error due to include:

#include <contrib/libs/libosmium/include/osmium/relations/relations_manager.hpp>

I use Ubuntu 20.04.1 LTS, clang version 12.0.1, libosmium version 2.17.0.

In file included from /contrib/libs/libosmium/include/osmium/relations/relations_manager.hpp:45:
/contrib/libs/libosmium/include/osmium/relations/members_database.hpp:162:55: error: 'osmium::iterator_range<osmium::relations::MembersDatabaseCommon::element *>::iterator' (aka 'osmium::relations::MembersDatabaseCommon::element *') is not a class, namespace, or enumeration
            static typename iterator_range<iterator>::iterator::difference_type count_not_removed(const iterator_range<iterator>& range) noexcept {
                                                      ^
1 error generated.
Failed

So I make PR to fix this problem.

@joto joto merged commit 1fb34f9 into osmcode:master Feb 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants