Skip to content
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

Remove useless typename #86

Merged
merged 1 commit into from
Jun 11, 2015
Merged

Remove useless typename #86

merged 1 commit into from
Jun 11, 2015

Conversation

ahamez
Copy link
Contributor

@ahamez ahamez commented Jun 9, 2015

It avoids a warning with GCC 4.9:

json.hpp:2361:49: warning: declaration 'struct std::bidirectional_iterator_tag' does not declare anything
         using iterator_category = typename std::bidirectional_iterator_tag;
                                                 ^

I don't add the generated json.hpp as my re2c version makes a very different version from the one in the repo. Or maybe I should directly modify json.hpp?

Avoid a warning with GCC 4.9:

son.hpp:2361:49: warning: declaration 'struct std::bidirectional_iterator_tag' does not declare anything
         using iterator_category = typename std::bidirectional_iterator_tag;
                                                 ^
nlohmann added a commit that referenced this pull request Jun 11, 2015
Remove useless typename
@nlohmann nlohmann merged commit 6d8a4ae into nlohmann:master Jun 11, 2015
@nlohmann
Copy link
Owner

Thanks!

nlohmann added a commit that referenced this pull request Jun 11, 2015
@ahamez
Copy link
Contributor Author

ahamez commented Jun 12, 2015

You're welcome :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants