aboutsummaryrefslogtreecommitdiff
path: root/core/src/Model/GlobalStates.cpp
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2021-05-26 15:31:12 -0700
committerrtk0c <[email protected]>2021-05-29 13:34:43 -0700
commitf957f4094a8d98ad0de294c3e6325ce9a860994e (patch)
treedb5caa6fbefa1699149e974448fd4dab6b2535b1 /core/src/Model/GlobalStates.cpp
parenta611b22650d1e40593db4fb1bce29d925e49e932 (diff)
More work on TableTemplate
Diffstat (limited to 'core/src/Model/GlobalStates.cpp')
-rw-r--r--core/src/Model/GlobalStates.cpp4
1 files changed, 2 insertions, 2 deletions
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()