Merge pull request #1962 from Project-OSRM/no-static-visitor

Remove uneeded and deprecated usage of mapbox::util::static_visitor
This commit is contained in:
Dane Springmeyer 2016-02-10 16:02:56 -08:00
commit 8c9d24bd9f

View File

@ -16,7 +16,7 @@ namespace util
namespace json namespace json
{ {
struct Renderer : mapbox::util::static_visitor<> struct Renderer
{ {
explicit Renderer(std::ostream &_out) : out(_out) {} explicit Renderer(std::ostream &_out) : out(_out) {}
@ -72,7 +72,7 @@ struct Renderer : mapbox::util::static_visitor<>
std::ostream &out; std::ostream &out;
}; };
struct ArrayRenderer : mapbox::util::static_visitor<> struct ArrayRenderer
{ {
explicit ArrayRenderer(std::vector<char> &_out) : out(_out) {} explicit ArrayRenderer(std::vector<char> &_out) : out(_out) {}