mirror of
https://github.com/serge1/ELFIO.git
synced 2024-11-19 20:19:07 +00:00
Explicetly delete the copy constructor and assignment operator
This commit is contained in:
parent
06097d962c
commit
29114f6538
@ -76,6 +76,10 @@ class elfio
|
||||
create( ELFCLASS32, ELFDATA2LSB );
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
elfio( const elfio& ) = delete;
|
||||
elfio& operator=( const elfio& ) = delete;
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
~elfio() { clean(); }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user