Fix the warning for deprecated copy ctor in case the dtor is user defined
pnpuranik opened this issue · 0 comments
pnpuranik commented
definition of implicit copy constructor for 'expected_storage_base<int, int, true, true>' is deprecated
expected.hpp:: error: definition of implicit copy constructor for 'expected_storage_base<int, int, true, true>' is deprecated because it has a user-declared destructor [-Werror,-Wdeprecated]
~expected_storage_base() = default;
^