mirror of
https://github.com/serge1/ELFIO.git
synced 2025-03-28 05:37:21 +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 );
|
create( ELFCLASS32, ELFDATA2LSB );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
elfio( const elfio& ) = delete;
|
||||||
|
elfio& operator=( const elfio& ) = delete;
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
~elfio() { clean(); }
|
~elfio() { clean(); }
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user