diff options
author | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-05-11 18:08:49 +0300 |
---|---|---|
committer | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-05-11 18:08:49 +0300 |
commit | 5edfe5874defe022ab7df1c89379e8cf69e4dba8 (patch) | |
tree | e78857e80967f150ba637ff0a3344193a0b81027 | |
parent | c1b244f3520f0409c87bb83234c6bd9b719d921a (diff) | |
download | ydb-5edfe5874defe022ab7df1c89379e8cf69e4dba8.tar.gz |
intermediate changes
ref:ce11bb17ff0edc48e46c96ff9d4fae0682372218
-rw-r--r-- | contrib/restricted/boost/boost/graph/adjacency_matrix.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/restricted/boost/boost/graph/adjacency_matrix.hpp b/contrib/restricted/boost/boost/graph/adjacency_matrix.hpp index ade7351fb8..9f72c08b35 100644 --- a/contrib/restricted/boost/boost/graph/adjacency_matrix.hpp +++ b/contrib/restricted/boost/boost/graph/adjacency_matrix.hpp @@ -1089,19 +1089,19 @@ namespace boost { typedef typename lookup_property_from_edge<boost::mpl::false_>::result_type single_nonconst_type; typedef typename lookup_property_from_edge<boost::mpl::true_>::result_type single_const_type; - static type get_nonconst(adjacency_matrix<D, VP, EP, GP, A>& g, Tag tag) { + static type get_nonconst([[maybe_unused]] adjacency_matrix<D, VP, EP, GP, A>& g, Tag tag) { return type(tag); } - static const_type get_const(const adjacency_matrix<D, VP, EP, GP, A>& g, Tag tag) { + static const_type get_const([[maybe_unused]] const adjacency_matrix<D, VP, EP, GP, A>& g, Tag tag) { return const_type(tag); } - static single_nonconst_type get_nonconst_one(adjacency_matrix<D, VP, EP, GP, A>& g, Tag tag, edge_descriptor e) { + static single_nonconst_type get_nonconst_one([[maybe_unused]] adjacency_matrix<D, VP, EP, GP, A>& g, Tag tag, edge_descriptor e) { return lookup_one_property<EP, Tag>::lookup(*static_cast<EP*>(e.get_property()), tag); } - static single_const_type get_const_one(const adjacency_matrix<D, VP, EP, GP, A>& g, Tag tag, edge_descriptor e) { + static single_const_type get_const_one([[maybe_unused]] const adjacency_matrix<D, VP, EP, GP, A>& g, Tag tag, edge_descriptor e) { return lookup_one_property<const EP, Tag>::lookup(*static_cast<const EP*>(e.get_property()), tag); } }; |