aboutsummaryrefslogtreecommitdiff
path: root/zenserver/projectstore.cpp
diff options
context:
space:
mode:
authorMartin Ridgers <[email protected]>2021-11-01 10:12:10 +0100
committerMartin Ridgers <[email protected]>2021-11-01 10:13:57 +0100
commite51efdba0d0dae253a2d9049ed0272bfc07b3e25 (patch)
treef5a0be97cd700a256cf8aa4d076b87a7babcbc40 /zenserver/projectstore.cpp
parentSigned/unsigned mismatches (diff)
downloadzen-e51efdba0d0dae253a2d9049ed0272bfc07b3e25.tar.xz
zen-e51efdba0d0dae253a2d9049ed0272bfc07b3e25.zip
Initialisation order warnings
Diffstat (limited to 'zenserver/projectstore.cpp')
-rw-r--r--zenserver/projectstore.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/zenserver/projectstore.cpp b/zenserver/projectstore.cpp
index a9e53a01c..f4834e68c 100644
--- a/zenserver/projectstore.cpp
+++ b/zenserver/projectstore.cpp
@@ -278,8 +278,8 @@ private:
ProjectStore::Oplog::Oplog(std::string_view Id, Project* Project, CidStore& Store, std::filesystem::path BasePath)
: m_OuterProject(Project)
, m_CidStore(Store)
-, m_OplogId(Id)
, m_BasePath(BasePath)
+, m_OplogId(Id)
{
m_Storage = new OplogStorage(this, m_BasePath);
const bool StoreExists = m_Storage->Exists();
@@ -779,8 +779,8 @@ ProjectStore::Project::Scrub(ScrubContext& Ctx)
ProjectStore::ProjectStore(CidStore& Store, std::filesystem::path BasePath)
: m_Log(zen::logging::Get("project"))
-, m_ProjectBasePath(BasePath)
, m_CidStore(Store)
+, m_ProjectBasePath(BasePath)
{
ZEN_INFO("initializing project store at '{}'", BasePath);
// m_Log.set_level(spdlog::level::debug);