common: Silence two discarded result warnings

These are intentionally discarded internally, since the rest of the
public API allows querying success. We want all non-internal uses of
these functions to be explicitly checked, so we can signify that we
intentionally want to discard the return values here.
This commit is contained in:
Lioncash
2020-08-16 06:17:30 -04:00
parent db96034ea4
commit d09456fc41
2 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@ namespace Common {
DynamicLibrary::DynamicLibrary() = default;
DynamicLibrary::DynamicLibrary(const char* filename) {
Open(filename);
void(Open(filename));
}
DynamicLibrary::DynamicLibrary(DynamicLibrary&& rhs) noexcept