From: Daniel Arndt Date: Mon, 10 Dec 2018 21:21:13 +0000 (+0100) Subject: Fix boost for MSVC as in https://github.com/boostorg/graph/pull/84 X-Git-Tag: v9.1.0-rc1~497^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a199f9a9b980e745c9d6d1da8345e2991a9a40e4;p=dealii.git Fix boost for MSVC as in https://github.com/boostorg/graph/pull/84 --- 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