diff --git a/Source/Core/Common/DynamicLibrary.h b/Source/Core/Common/DynamicLibrary.h index 775afce56c..edfcde8ff3 100644 --- a/Source/Core/Common/DynamicLibrary.h +++ b/Source/Core/Common/DynamicLibrary.h @@ -24,6 +24,12 @@ public: // Closes the library. ~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. static std::string GetUnprefixedFilename(const char* filename);