From d964b81308fb4f41ff858597819e69d2e6898892 Mon Sep 17 00:00:00 2001 From: "Daniel J. Hofmann" Date: Thu, 6 Oct 2016 17:07:07 +0200 Subject: [PATCH] Silence static visitor upstream deprecation warnings. --- include/util/json_deep_compare.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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_)