From a199f9a9b980e745c9d6d1da8345e2991a9a40e4 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Mon, 10 Dec 2018 22:21:13 +0100 Subject: [PATCH] Fix boost for MSVC as in https://github.com/boostorg/graph/pull/84 --- .../boost-1.62.0/include/boost/graph/named_function_params.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bundled/boost-1.62.0/include/boost/graph/named_function_params.hpp b/bundled/boost-1.62.0/include/boost/graph/named_function_params.hpp index a9a9add6c8..4842dc9548 100644 --- a/bundled/boost-1.62.0/include/boost/graph/named_function_params.hpp +++ b/bundled/boost-1.62.0/include/boost/graph/named_function_params.hpp @@ -228,6 +228,7 @@ BOOST_BGL_DECLARE_NAMED_PARAMS }; struct param_not_found {}; + static param_not_found g_param_not_found; template struct get_param_type: @@ -237,7 +238,7 @@ BOOST_BGL_DECLARE_NAMED_PARAMS inline const typename lookup_named_param_def::type& get_param(const Args& p, Tag) { - return lookup_named_param_def::get(p, param_not_found()); + return lookup_named_param_def::get(p, g_param_not_found); } template -- 2.39.5