Explicitly delete copy and assignment operators
This commit is contained in:
parent
8c6758c8d1
commit
48106d6046
1 changed files with 2 additions and 2 deletions
|
@ -147,8 +147,8 @@ public:
|
|||
enum TDirSort { NOSORT, ALPHABETICAL, DIRALPHABETICAL, ALPHABETICALREV, DIRALPHABETICALREV };
|
||||
DOS_Drive_Cache (void);
|
||||
DOS_Drive_Cache (const char* path);
|
||||
DOS_Drive_Cache (const DOS_Drive_Cache&); // prevent copying
|
||||
DOS_Drive_Cache& operator= (const DOS_Drive_Cache&); // prevent assignment
|
||||
DOS_Drive_Cache (const DOS_Drive_Cache&) = delete; // prevent copying
|
||||
DOS_Drive_Cache& operator= (const DOS_Drive_Cache&) = delete; // prevent assignment
|
||||
~DOS_Drive_Cache (void);
|
||||
|
||||
void SetBaseDir (const char* path);
|
||||
|
|
Loading…
Add table
Reference in a new issue