summaryrefslogtreecommitdiff
path: root/store/source/storpage.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-09-19 10:50:47 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-09-19 12:47:14 +0200
commite58324aaca6875dbfe7c6c8333d747d2bfd9d089 (patch)
treecd52172673e74c3ff38a0be60107eaaa6ad66d32 /store/source/storpage.cxx
parent99e95346ac33f2d04536ab6c268936ab8b822b42 (diff)
convert storeAccessMode to scoped enum
Change-Id: I67705cdff0440487019a2992571147d648be1bfc
Diffstat (limited to 'store/source/storpage.cxx')
-rw-r--r--store/source/storpage.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/store/source/storpage.cxx b/store/source/storpage.cxx
index 0f559b4be3fd..3d10ec04e4fc 100644
--- a/store/source/storpage.cxx
+++ b/store/source/storpage.cxx
@@ -280,9 +280,9 @@ storeError OStorePageManager::iget (
if (eErrCode != store_E_NotExists)
return eErrCode;
- if (eMode == store_AccessReadWrite)
+ if (eMode == storeAccessMode::ReadWrite)
return store_E_NotExists;
- if (eMode == store_AccessReadOnly)
+ if (eMode == storeAccessMode::ReadOnly)
return store_E_NotExists;
if (!base::isWriteable())
@@ -477,7 +477,7 @@ storeError OStorePageManager::remove (const OStorePageKey &rKey)
// Acquire page write access.
OStorePageDescriptor aDescr (xNode->m_aDescr);
- eErrCode = base::acquirePage (aDescr, store_AccessReadWrite);
+ eErrCode = base::acquirePage (aDescr, storeAccessMode::ReadWrite);
if (eErrCode != store_E_None)
return eErrCode;