diff options
| author | Stefan Boberg <[email protected]> | 2021-10-23 18:59:58 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2021-10-23 18:59:58 +0200 |
| commit | c63acd947853cc05721b327075ac78f91e58df8e (patch) | |
| tree | d209eec1ba7c22e21e55b571b435b3a605c4df48 /zenstore/CAS.cpp | |
| parent | compactcas: Changed CasDiskLocation implementation so it can store chunks > 4... (diff) | |
| download | zen-c63acd947853cc05721b327075ac78f91e58df8e.tar.xz zen-c63acd947853cc05721b327075ac78f91e58df8e.zip | |
cas: fixed some warnings
unsure why we don't get these when building in VS
Diffstat (limited to 'zenstore/CAS.cpp')
| -rw-r--r-- | zenstore/CAS.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/zenstore/CAS.cpp b/zenstore/CAS.cpp index ec8e8f570..86c6eb849 100644 --- a/zenstore/CAS.cpp +++ b/zenstore/CAS.cpp @@ -121,7 +121,7 @@ private: StorageScheme m_StorageScheme = StorageScheme::Legacy; bool OpenOrCreateManifest(); - void UpdateManifest(bool IsNewStore); + void UpdateManifest(); }; CasImpl::CasImpl(CasGc& Gc) : m_TinyStrategy(m_Config), m_SmallStrategy(m_Config), m_LargeStrategy(m_Config, Gc) @@ -210,14 +210,14 @@ CasImpl::OpenOrCreateManifest() if (!ManifestIsOk) { - UpdateManifest(true); + UpdateManifest(); } return IsNewStore; } void -CasImpl::UpdateManifest(bool IsNewStore) +CasImpl::UpdateManifest() { if (!m_ManifestObject) { @@ -312,7 +312,7 @@ CasImpl::Scrub(ScrubContext& Ctx) m_LargeStrategy.Scrub(Ctx); } -void +void CasImpl::GarbageCollect(GcContext& GcCtx) { m_LargeStrategy.CollectGarbage(GcCtx); |