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

Broken compability with mapbox/geojson-cpp #71

Open
mathisloge opened this issue Apr 10, 2021 · 0 comments
Open

Broken compability with mapbox/geojson-cpp #71

mathisloge opened this issue Apr 10, 2021 · 0 comments

Comments

@mathisloge
Copy link

mathisloge commented Apr 10, 2021

With the change from recursive_wrapper to shared_pointers in #68 the compability with https://github.com/mapbox/geojson-cpp is not given anymore.

I needed to inject this:

    rapidjson_value operator()(const std::shared_ptr<std::unordered_map<std::string, value>>& map) {
        return (*this)(*map);
    }

    rapidjson_value operator()(const std::shared_ptr<std::vector<value>>& map) {
        return (*this)(*map);
    }

into https://github.com/mapbox/geojson-cpp/blob/master/include/mapbox/geojson_impl.hpp

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

No branches or pull requests

1 participant