diff --git a/include/util/json_deep_compare.hpp b/include/util/json_deep_compare.hpp index f5a6c8a1e..9c202a527 100644 --- a/include/util/json_deep_compare.hpp +++ b/include/util/json_deep_compare.hpp @@ -17,7 +17,7 @@ namespace util namespace json { -struct Comparator : mapbox::util::static_visitor +struct Comparator { Comparator(std::string &reason_, const std::string &lhs_path_, const std::string &rhs_path_) : reason(reason_), lhs_path(lhs_path_), rhs_path(rhs_path_)