aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Matrix.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-09-13 21:30:39 +0200
committerdec05eba <dec05eba@protonmail.com>2021-09-13 21:30:39 +0200
commitb97c4c3ccad3c917e2073329e8d1c7b7351e96aa (patch)
tree0e5b5791ace6f1f72dac4ce42ca5d990165fc3c7 /src/plugins/Matrix.cpp
parenta9d69f57a0cd4f9cccff07b2890a860695d1e7ed (diff)
Include refactoring
Diffstat (limited to 'src/plugins/Matrix.cpp')
-rw-r--r--src/plugins/Matrix.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/Matrix.cpp b/src/plugins/Matrix.cpp
index 3f42437..13fd230 100644
--- a/src/plugins/Matrix.cpp
+++ b/src/plugins/Matrix.cpp
@@ -3817,8 +3817,8 @@ namespace QuickMedia {
remove(matrix_sync_data_path.data.c_str());
Path filter_cache_path = get_storage_dir().join("matrix").join("filter");
remove(filter_cache_path.data.c_str());
- for_files_in_dir(get_cache_dir().join("matrix").join("events"), [](const std::filesystem::path &filepath) {
- remove(filepath.c_str());
+ for_files_in_dir(get_cache_dir().join("matrix").join("events"), [](const Path &filepath) {
+ remove(filepath.data.c_str());
return true;
});