Explicetly delete the copy constructor and assignment operator

This commit is contained in:
Serge Lamikhov-Center 2021-03-29 21:17:57 +03:00
parent 06097d962c
commit 29114f6538

View File

@ -76,6 +76,10 @@ class elfio
create( ELFCLASS32, ELFDATA2LSB );
}
//------------------------------------------------------------------------------
elfio( const elfio& ) = delete;
elfio& operator=( const elfio& ) = delete;
//------------------------------------------------------------------------------
~elfio() { clean(); }