diff options
Diffstat (limited to 'src/zenserver')
| -rw-r--r-- | src/zenserver/cache/structuredcache.h | 5 | ||||
| -rw-r--r-- | src/zenserver/projectstore/projectstore.h | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/zenserver/cache/structuredcache.h b/src/zenserver/cache/structuredcache.h index add3eb281..4f03daae4 100644 --- a/src/zenserver/cache/structuredcache.h +++ b/src/zenserver/cache/structuredcache.h @@ -78,8 +78,9 @@ public: virtual const char* BaseUri() const override; virtual void HandleRequest(HttpServerRequest& Request) override; - void Flush(); - void ScrubStorage(ScrubContext& Ctx); + + void Flush(); + void ScrubStorage(ScrubContext& Ctx); private: struct CacheRef diff --git a/src/zenserver/projectstore/projectstore.h b/src/zenserver/projectstore/projectstore.h index 37093c0fb..27e06a495 100644 --- a/src/zenserver/projectstore/projectstore.h +++ b/src/zenserver/projectstore/projectstore.h @@ -253,7 +253,6 @@ public: bool DeleteProject(std::string_view ProjectId); bool Exists(std::string_view ProjectId); void Flush(); - void ScrubStorage(ScrubContext& Ctx); void DiscoverProjects(); void IterateProjects(std::function<void(Project& Prj)>&& Fn); @@ -261,6 +260,7 @@ public: const std::filesystem::path& BasePath() const { return m_ProjectBasePath; } virtual void GatherReferences(GcContext& GcCtx) override; + virtual void ScrubStorage(ScrubContext& Ctx) override; virtual void CollectGarbage(GcContext& GcCtx) override; virtual GcStorageSize StorageSize() const override; |