mirror of
https://github.com/serge1/ELFIO.git
synced 2025-04-16 05:42:31 +00:00
Add explicit declaration of move constructor and move assignment
This commit is contained in:
parent
29114f6538
commit
f591a3b74e
@ -77,8 +77,12 @@ class elfio
|
|||||||
}
|
}
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
elfio( const elfio& ) = delete;
|
// clang-format off
|
||||||
|
elfio( const elfio& ) = delete;
|
||||||
elfio& operator=( const elfio& ) = delete;
|
elfio& operator=( const elfio& ) = delete;
|
||||||
|
elfio( elfio&& ) = default;
|
||||||
|
elfio& operator=( elfio&& ) = default;
|
||||||
|
// clang-format on
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
~elfio() { clean(); }
|
~elfio() { clean(); }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user