From f957f4094a8d98ad0de294c3e6325ce9a860994e Mon Sep 17 00:00:00 2001 From: rtk0c Date: Wed, 26 May 2021 15:31:12 -0700 Subject: More work on TableTemplate --- core/src/Model/GlobalStates.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/src/Model/GlobalStates.cpp') diff --git a/core/src/Model/GlobalStates.cpp b/core/src/Model/GlobalStates.cpp index a9b6806..2230367 100644 --- a/core/src/Model/GlobalStates.cpp +++ b/core/src/Model/GlobalStates.cpp @@ -28,7 +28,7 @@ void GlobalStates::Init(std::filesystem::path userDataDir) fs::create_directories(globalDataPath); // Reading recent projects - [&]() { + { std::ifstream ifs(globalDataPath / "recents.json"); if (!ifs) return; @@ -50,7 +50,7 @@ void GlobalStates::Init(std::filesystem::path userDataDir) }); } } - }(); + } } void GlobalStates::Shutdown() -- cgit v1.2.3-70-g09d2