2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

Merge pull request #5306 from MerryMage/ignore-library-Open

vulkan_library: Common::DynamicLibrary::Open is [[nodiscard]]
This commit is contained in:
Morph 2021-01-08 01:44:18 +08:00 committed by GitHub
commit bcb702fa3e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,7 +20,7 @@ Common::DynamicLibrary OpenLibrary() {
// Use the libvulkan.dylib from the application bundle. // Use the libvulkan.dylib from the application bundle.
const std::string filename = const std::string filename =
Common::FS::GetBundleDirectory() + "/Contents/Frameworks/libvulkan.dylib"; Common::FS::GetBundleDirectory() + "/Contents/Frameworks/libvulkan.dylib";
library.Open(filename.c_str()); void(library.Open(filename.c_str()));
} }
#else #else
std::string filename = Common::DynamicLibrary::GetVersionedFilename("vulkan", 1); std::string filename = Common::DynamicLibrary::GetVersionedFilename("vulkan", 1);