summaryrefslogtreecommitdiff
path: root/store/source/storbase.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'store/source/storbase.hxx')
-rw-r--r--store/source/storbase.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/store/source/storbase.hxx b/store/source/storbase.hxx
index a5245de7380e..7829ae1c4a79 100644
--- a/store/source/storbase.hxx
+++ b/store/source/storbase.hxx
@@ -423,7 +423,7 @@ public:
std::shared_ptr<PageData> tmp (rxAllocator->construct<T>(), PageData::Deallocate(rxAllocator));
m_xPage.swap (tmp);
}
- return (m_xPage.get() != nullptr);
+ return bool(m_xPage);
}
explicit PageHolderObject (std::shared_ptr<PageData> const & rxPage = std::shared_ptr<PageData>())
@@ -448,7 +448,7 @@ public:
bool is() const
{
- return (m_xPage.get() != nullptr);
+ return bool(m_xPage);
}
std::shared_ptr<PageData> & get() { return m_xPage; }