strongdef: remove unnecessary copy constructor
Reduces issues with compiler generated assignment operators.
This commit is contained in:
parent
2d41136621
commit
90621ca7f8
@ -31,7 +31,6 @@ namespace util {
|
||||
|
||||
constexpr strongdef () = delete;
|
||||
constexpr explicit strongdef (const T &_data): data (_data) { ; }
|
||||
constexpr strongdef (const strongdef &rhs): data (rhs.data) { ; }
|
||||
|
||||
// explicitly disable assignment with unequal types or tags. this
|
||||
// prevents the converion operator getting invoked and falsely
|
||||
|
Loading…
Reference in New Issue
Block a user