forked from boostorg/regex
Merge pull request #103 from Romain-Geissler-1A/devel
Fix clang -Wdeprecated-copy warning in basic_regex_creator.hpp
This commit is contained in:
@ -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>()
|
||||
{
|
||||
|
Reference in New Issue
Block a user