Use latest WUPS version

This commit is contained in:
Maschell
2022-08-26 21:55:09 +02:00
parent ff5d23cae2
commit 4103493388
3 changed files with 5 additions and 5 deletions

View File

@@ -49,7 +49,7 @@ static void processJson(wups_storage_item_t *items, nlohmann::json json) {
}
}
int StorageUtils::OpenStorage(const char *plugin_id, wups_storage_item_t *items) {
WUPSStorageError StorageUtils::OpenStorage(const char *plugin_id, wups_storage_item_t *items) {
if (!plugin_id || !items) {
return WUPS_STORAGE_ERROR_INVALID_BACKEND_PARAMS;
}
@@ -107,7 +107,7 @@ static nlohmann::json processItems(wups_storage_item_t *items) {
return json;
}
int StorageUtils::CloseStorage(const char *plugin_id, wups_storage_item_t *items) {
WUPSStorageError StorageUtils::CloseStorage(const char *plugin_id, wups_storage_item_t *items) {
if (!plugin_id || !items) {
return WUPS_STORAGE_ERROR_INVALID_BACKEND_PARAMS;
}