Silence static visitor upstream deprecation warnings.

This commit is contained in:
Daniel J. Hofmann 2016-10-06 17:07:07 +02:00 committed by Patrick Niklaus
parent 49a28b478c
commit d964b81308

View File

@ -17,7 +17,7 @@ namespace util
namespace json namespace json
{ {
struct Comparator : mapbox::util::static_visitor<bool> struct Comparator
{ {
Comparator(std::string &reason_, const std::string &lhs_path_, const std::string &rhs_path_) Comparator(std::string &reason_, const std::string &lhs_path_, const std::string &rhs_path_)
: reason(reason_), lhs_path(lhs_path_), rhs_path(rhs_path_) : reason(reason_), lhs_path(lhs_path_), rhs_path(rhs_path_)