Browse Source

Replaced deprecated boost::filesystem::iterator::no_push

merge-requests/413/merge
eidheim 2 years ago
parent
commit
469d8c8cb0
  1. 2
      src/usages_clang.cpp
  2. 2
      src/window.cpp

2
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;
}

2
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);

Loading…
Cancel
Save