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:
		
						commit
						8c9d24bd9f
					
				| @ -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) {} | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user