Closed ecatmur closed 1 year ago
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.
Fixed in https://github.com/boostorg/lexical_cast/commit/844a4d1640a94b3884e3895d77e05c98c74000ce
Many thanks for the report and for the hint on fixing!
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.