mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
Merge pull request #10494 from JosJuice/dynamiclibrary-rule-of-five
Common: Make DynamicLibrary non-copyable
This commit is contained in:
commit
9af9e791f6
@ -24,6 +24,12 @@ public:
|
|||||||
// Closes the library.
|
// Closes the library.
|
||||||
~DynamicLibrary();
|
~DynamicLibrary();
|
||||||
|
|
||||||
|
DynamicLibrary(const DynamicLibrary&) = delete;
|
||||||
|
DynamicLibrary(DynamicLibrary&&) = delete;
|
||||||
|
|
||||||
|
DynamicLibrary& operator=(const DynamicLibrary&) = delete;
|
||||||
|
DynamicLibrary& operator=(DynamicLibrary&&) = delete;
|
||||||
|
|
||||||
// Returns the specified library name with the platform-specific suffix added.
|
// Returns the specified library name with the platform-specific suffix added.
|
||||||
static std::string GetUnprefixedFilename(const char* filename);
|
static std::string GetUnprefixedFilename(const char* filename);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user