@@ -31,7 +31,7 @@ | |||
using namespace dds; | |||
using namespace ranges; | |||
using namespace ranges::view; | |||
using namespace ranges::views; | |||
namespace { | |||
@@ -417,13 +417,13 @@ void dds::build(const build_params& params, const package_manifest&) { | |||
dds::execute_all(compiles, params.toolchain, params.parallel_jobs); | |||
using namespace ranges::view; | |||
using namespace ranges::views; | |||
auto link_res = link_project(params, project, compiles); | |||
auto all_tests = link_res // | |||
| transform(DDS_TL(_1.test_exes)) // | |||
| action::join; | |||
| ranges::actions::join; | |||
int n_test_fails = 0; | |||
for (path_ref test_exe : all_tests) { |
@@ -17,7 +17,7 @@ std::vector<library> collect_submodules(path_ref pf_libs_dir) { | |||
if (!fs::exists(pf_libs_dir)) { | |||
return {}; | |||
} | |||
using namespace ranges::view; | |||
using namespace ranges::views; | |||
return fs::directory_iterator(pf_libs_dir) // | |||
| filter(has_library_dirs) // | |||
| transform(DDS_TL(library::from_directory(_1))) // |
@@ -47,7 +47,7 @@ void sdist_copy_library(path_ref out_root, | |||
browns::md5& hash) { | |||
auto sources_to_keep = // | |||
lib.sources() // | |||
| ranges::view::filter([&](const source_file& sf) { | |||
| ranges::views::filter([&](const source_file& sf) { | |||
if (sf.kind == source_kind::app && params.include_apps) { | |||
return true; | |||
} |
@@ -69,7 +69,7 @@ std::optional<source_file> source_file::from_path(path_ref path) noexcept { | |||
} | |||
source_list source_file::collect_for_dir(path_ref src) { | |||
using namespace ranges::view; | |||
using namespace ranges::views; | |||
// Strips nullopt elements and lifts the value from the results | |||
auto drop_nulls = // | |||
filter(DDS_TL(_1.has_value())) // |