Merge pull request #103 from Romain-Geissler-1A/devel

Fix clang -Wdeprecated-copy warning in basic_regex_creator.hpp
This commit is contained in:
jzmaddock
2020-10-12 18:24:31 +01:00
committed by GitHub

View File

@ -52,6 +52,9 @@ struct digraph : public std::pair<charT, charT>
digraph(charT c1, charT c2) : std::pair<charT, charT>(c1, c2)
{}
digraph(const digraph<charT>& d) : std::pair<charT, charT>(d.first, d.second){}
#ifndef BOOST_NO_CXX11_DEFAULTED_FUNCTIONS
digraph<charT>& operator=(const digraph<charT>&) = default;
#endif
template <class Seq>
digraph(const Seq& s) : std::pair<charT, charT>()
{