diff options
author | Ivan Blinkov <ivan@blinkov.ru> | 2022-02-10 16:47:11 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:11 +0300 |
commit | 5b283123c882433dafbaf6b338adeea16c1a0ea0 (patch) | |
tree | 339adc63bce23800021202ae4a8328a843dc447a /contrib/libs/hyperscan/include | |
parent | 1aeb9a455974457866f78722ad98114bafc84e8a (diff) | |
download | ydb-5b283123c882433dafbaf6b338adeea16c1a0ea0.tar.gz |
Restoring authorship annotation for Ivan Blinkov <ivan@blinkov.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/hyperscan/include')
-rw-r--r-- | contrib/libs/hyperscan/include/boost-patched/graph/reverse_graph.hpp | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/contrib/libs/hyperscan/include/boost-patched/graph/reverse_graph.hpp b/contrib/libs/hyperscan/include/boost-patched/graph/reverse_graph.hpp index e1333f2638..8f98a1d5ff 100644 --- a/contrib/libs/hyperscan/include/boost-patched/graph/reverse_graph.hpp +++ b/contrib/libs/hyperscan/include/boost-patched/graph/reverse_graph.hpp @@ -1,27 +1,27 @@ -#ifndef REVERSE_GRAPH_PATCHED_H_ -#define REVERSE_GRAPH_PATCHED_H_ - -#include <boost/version.hpp> - -#include <boost/graph/reverse_graph.hpp> - -#if defined(BOOST_REVGRAPH_PATCH) - -// Boost 1.62.0 does not implement degree() in reverse_graph which is required -// by BidirectionalGraph, so add it. - -namespace boost { - -template <class BidirectionalGraph, class GRef> -inline typename graph_traits<BidirectionalGraph>::degree_size_type -degree(const typename graph_traits<BidirectionalGraph>::vertex_descriptor u, - const reverse_graph<BidirectionalGraph,GRef>& g) -{ - return degree(u, g.m_g); -} - -} // namespace boost - -#endif // Boost 1.62.0 - -#endif +#ifndef REVERSE_GRAPH_PATCHED_H_ +#define REVERSE_GRAPH_PATCHED_H_ + +#include <boost/version.hpp> + +#include <boost/graph/reverse_graph.hpp> + +#if defined(BOOST_REVGRAPH_PATCH) + +// Boost 1.62.0 does not implement degree() in reverse_graph which is required +// by BidirectionalGraph, so add it. + +namespace boost { + +template <class BidirectionalGraph, class GRef> +inline typename graph_traits<BidirectionalGraph>::degree_size_type +degree(const typename graph_traits<BidirectionalGraph>::vertex_descriptor u, + const reverse_graph<BidirectionalGraph,GRef>& g) +{ + return degree(u, g.m_g); +} + +} // namespace boost + +#endif // Boost 1.62.0 + +#endif |