mirror of
https://github.com/wiiu-env/WiiUPluginSystem.git
synced 2024-11-15 23:35:15 +01:00
Compare commits
3 Commits
3b5cc2f932
...
562c7490cf
Author | SHA1 | Date | |
---|---|---|---|
|
562c7490cf | ||
|
3b0e4bf4c5 | ||
|
702580152f |
@ -20,7 +20,8 @@ public:
|
||||
|
||||
WUPSConfigCategory &operator=(WUPSConfigCategory &&src) noexcept {
|
||||
if (this != &src) {
|
||||
src.mHandle = {};
|
||||
this->mHandle = src.mHandle;
|
||||
src.mHandle = {};
|
||||
}
|
||||
return *this;
|
||||
}
|
||||
|
@ -21,7 +21,8 @@ public:
|
||||
|
||||
WUPSConfigItem &operator=(WUPSConfigItem &&src) noexcept {
|
||||
if (this != &src) {
|
||||
src.mHandle = {};
|
||||
this->mHandle = src.mHandle;
|
||||
src.mHandle = {};
|
||||
}
|
||||
return *this;
|
||||
}
|
||||
|
@ -85,7 +85,7 @@ std::optional<WUPSStorageSubItem> WUPSStorageSubItem::GetOrCreateSubItem(std::st
|
||||
wups_storage_item outItem = {};
|
||||
err = WUPSStorageAPI_GetSubItem(mHandle, key.data(), &outItem);
|
||||
if (err == WUPS_STORAGE_ERROR_NOT_FOUND) {
|
||||
return CreateSubItem(key);
|
||||
return CreateSubItem(key, err);
|
||||
}
|
||||
return WUPSStorageSubItem(outItem);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user