mirror of
https://github.com/serge1/ELFIO.git
synced 2024-12-26 18:15:40 +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( elfio&& ) = default;
|
||||
elfio& operator=( elfio&& ) = default;
|
||||
// clang-format on
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
~elfio() { clean(); }
|
||||
|
Loading…
Reference in New Issue
Block a user