Compare commits

..

No commits in common. "562c7490cf682ce2eec7d10c0810df3c2845dc46" and "3b5cc2f932e7bbda0692251a50cd98beaeea08d1" have entirely different histories.

3 changed files with 3 additions and 5 deletions

View File

@ -20,7 +20,6 @@ public:
WUPSConfigCategory &operator=(WUPSConfigCategory &&src) noexcept {
if (this != &src) {
this->mHandle = src.mHandle;
src.mHandle = {};
}
return *this;

View File

@ -21,7 +21,6 @@ public:
WUPSConfigItem &operator=(WUPSConfigItem &&src) noexcept {
if (this != &src) {
this->mHandle = src.mHandle;
src.mHandle = {};
}
return *this;

View File

@ -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);
}