diff --git a/include/wups/storage.h b/include/wups/storage.h index 1d2e8f0..94ba791 100644 --- a/include/wups/storage.h +++ b/include/wups/storage.h @@ -703,6 +703,8 @@ namespace WUPSStorageAPI { /** * @brief Forces a reload of storage data. + * Any existing (sub-)item pointers (including the root item9will be invalid after calling this. + * They need to be re-obtained via \see WUPSStorageAPI_GetRootItem , \see WUPSStorageAPI_GetSubItem or similar functions. * @return WUPSStorageError WUPS_STORAGE_ERROR_SUCCESS on success, otherwise an appropriate error code. * \see WUPSStorageAPI_ForceReloadStorage */ diff --git a/plugins/storage_test_plugin/src/test.cpp b/plugins/storage_test_plugin/src/test.cpp index 1bb3676..8400de0 100644 --- a/plugins/storage_test_plugin/src/test.cpp +++ b/plugins/storage_test_plugin/src/test.cpp @@ -254,7 +254,6 @@ TEST_CASE("Create subitem") { readItem = WUPSStorageAPI::GetSubItem(subItemName, res); REQUIRE(res == WUPS_STORAGE_ERROR_SUCCESS); REQUIRE(readItem); - REQUIRE(*readItem == *subItem); } void storeNestedSubItem(int NEST_DEEP_SIZE) {