aboutsummaryrefslogtreecommitdiff
path: root/zenserver/cache
diff options
context:
space:
mode:
Diffstat (limited to 'zenserver/cache')
-rw-r--r--zenserver/cache/structuredcachestore.cpp2
-rw-r--r--zenserver/cache/structuredcachestore.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/zenserver/cache/structuredcachestore.cpp b/zenserver/cache/structuredcachestore.cpp
index 23ad550c9..a734e9eb1 100644
--- a/zenserver/cache/structuredcachestore.cpp
+++ b/zenserver/cache/structuredcachestore.cpp
@@ -2131,7 +2131,7 @@ namespace {
} // namespace
-ZenCacheStore::ZenCacheStore(std::filesystem::path BasePath, CasGc& Gc) : GcStorage(Gc), GcContributor(Gc)
+ZenCacheStore::ZenCacheStore(CasGc& Gc, std::filesystem::path BasePath) : GcStorage(Gc), GcContributor(Gc)
{
CreateDirectories(BasePath);
std::vector<std::string> ExistingFolders = FindExistingFolders(BasePath);
diff --git a/zenserver/cache/structuredcachestore.h b/zenserver/cache/structuredcachestore.h
index 910c56745..67bb9c7bf 100644
--- a/zenserver/cache/structuredcachestore.h
+++ b/zenserver/cache/structuredcachestore.h
@@ -358,7 +358,7 @@ class ZenCacheStore final : public GcStorage, public GcContributor
public:
static constexpr std::string_view DefaultNamespace = "";
- ZenCacheStore(std::filesystem::path BasePath, CasGc& Gc);
+ ZenCacheStore(CasGc& Gc, std::filesystem::path BasePath);
~ZenCacheStore();
bool Get(std::string_view Namespace, std::string_view Bucket, const IoHash& HashKey, ZenCacheValue& OutValue);