summaryrefslogtreecommitdiffstats
path: root/storage/src/tests/persistence/testandsettest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'storage/src/tests/persistence/testandsettest.cpp')
-rw-r--r--storage/src/tests/persistence/testandsettest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/src/tests/persistence/testandsettest.cpp b/storage/src/tests/persistence/testandsettest.cpp
index 1e67e90b540..08555fe0627 100644
--- a/storage/src/tests/persistence/testandsettest.cpp
+++ b/storage/src/tests/persistence/testandsettest.cpp
@@ -257,7 +257,7 @@ document::Document::SP TestAndSetTest::retrieveTestDocument()
auto tracker = thread->handleGet(get, context);
assert(tracker->getResult() == api::ReturnCode::Result::OK);
- auto & reply = static_cast<api::GetReply &>(*tracker->getReply());
+ auto & reply = static_cast<api::GetReply &>(tracker->getReply());
assert(reply.wasFound());
return reply.getDocument();