mirror of
https://github.com/wiiu-env/WiiUPluginSystem.git
synced 2024-11-15 23:35:15 +01:00
Compare commits
No commits in common. "562c7490cf682ce2eec7d10c0810df3c2845dc46" and "3b5cc2f932e7bbda0692251a50cd98beaeea08d1" have entirely different histories.
562c7490cf
...
3b5cc2f932
@ -20,8 +20,7 @@ public:
|
||||
|
||||
WUPSConfigCategory &operator=(WUPSConfigCategory &&src) noexcept {
|
||||
if (this != &src) {
|
||||
this->mHandle = src.mHandle;
|
||||
src.mHandle = {};
|
||||
src.mHandle = {};
|
||||
}
|
||||
return *this;
|
||||
}
|
||||
|
@ -21,8 +21,7 @@ public:
|
||||
|
||||
WUPSConfigItem &operator=(WUPSConfigItem &&src) noexcept {
|
||||
if (this != &src) {
|
||||
this->mHandle = src.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, err);
|
||||
return CreateSubItem(key);
|
||||
}
|
||||
return WUPSStorageSubItem(outItem);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user