forked from boostorg/regex
Default empty destructor.
The compiler-generated copy constructor and copy assignment operator are deprecated since C++11 on classes with user-declared destructors. This change allows clean compilation with the -Wdeprecated-copy-dtor/-Wdeprecated-copy-with-user-provided-dtor flag.
This commit is contained in:
@ -52,7 +52,7 @@ public:
|
|||||||
, m_position(0)
|
, m_position(0)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
~regex_error() noexcept override {}
|
~regex_error() noexcept override = default;
|
||||||
regex_constants::error_type code()const
|
regex_constants::error_type code()const
|
||||||
{ return m_error_code; }
|
{ return m_error_code; }
|
||||||
std::ptrdiff_t position()const
|
std::ptrdiff_t position()const
|
||||||
|
Reference in New Issue
Block a user