From 469d8c8cb06159a1fb5f8448ed1779e412e75d1d Mon Sep 17 00:00:00 2001 From: eidheim Date: Sat, 11 May 2024 20:04:44 +0200 Subject: [PATCH] Replaced deprecated boost::filesystem::iterator::no_push --- src/usages_clang.cpp | 2 +- src/window.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/usages_clang.cpp b/src/usages_clang.cpp index 3a7c870..ffe023f 100644 --- a/src/usages_clang.cpp +++ b/src/usages_clang.cpp @@ -562,7 +562,7 @@ Usages::Clang::PathSet Usages::Clang::find_paths(const boost::filesystem::path & boost::system::error_code ec; if(!boost::filesystem::is_regular_file(path, ec)) { if(path == build_path || path == debug_path || path.filename() == ".git") - it.no_push(); + it.disable_recursion_pending(); continue; } diff --git a/src/window.cpp b/src/window.cpp index 3dfb72e..66c96d1 100644 --- a/src/window.cpp +++ b/src/window.cpp @@ -995,7 +995,7 @@ void Window::set_menu_actions() { if(std::any_of(exclude_folders.begin(), exclude_folders.end(), [&filename](const std::string &exclude_folder) { return filename == exclude_folder; })) - it.no_push(); + it.disable_recursion_pending(); continue; } files.emplace_back(path);