aboutsummaryrefslogtreecommitdiff
path: root/core/src/Model/GlobalStates.cpp
diff options
context:
space:
mode:
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()