summaryrefslogtreecommitdiff
path: root/store/source/lockbyte.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'store/source/lockbyte.cxx')
-rw-r--r--store/source/lockbyte.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/store/source/lockbyte.cxx b/store/source/lockbyte.cxx
index 2806dc5a3693..91de98023c48 100644
--- a/store/source/lockbyte.cxx
+++ b/store/source/lockbyte.cxx
@@ -373,7 +373,7 @@ storeError FileLockBytes::readPageAt_Impl (std::shared_ptr<PageData> & rPage, sa
if (!m_xAllocator.is())
return store_E_InvalidAccess;
- if (!rPage.get())
+ if (!rPage)
return store_E_OutOfMemory;
PageData * pagedata = rPage.get();
@@ -724,7 +724,7 @@ storeError MemoryLockBytes::readPageAt_Impl (std::shared_ptr<PageData> & rPage,
if (!m_xAllocator.is())
return store_E_InvalidAccess;
- if (!rPage.get())
+ if (!rPage)
return store_E_OutOfMemory;
PageData * pagedata = rPage.get();