Skip to content

Commit 0f484ec

Browse files
committed
Replace use of boost::algorithm::all_of with ranges::all_of
1 parent 8230022 commit 0f484ec

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

libyul/optimiser/UnusedFunctionParameterPruner.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
#include <libsolutil/CommonData.h>
3333

34-
#include <boost/algorithm/cxx11/all_of.hpp>
34+
#include <range/v3/algorithm/all_of.hpp>
3535

3636
#include <optional>
3737
#include <variant>
@@ -64,7 +64,7 @@ void UnusedFunctionParameterPruner::run(OptimiserStepContext& _context, Block& _
6464
{
6565
FunctionDefinition const& f = std::get<FunctionDefinition>(statement);
6666

67-
if (tooSimpleToBePruned(f) || boost::algorithm::all_of(f.parameters + f.returnVariables, used))
67+
if (tooSimpleToBePruned(f) || ranges::all_of(f.parameters + f.returnVariables, used))
6868
continue;
6969

7070
usedParametersAndReturnVariables[f.name] = {

test/tools/yulInterpreter/Interpreter.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@
3434

3535
#include <libsolutil/FixedHash.h>
3636

37-
#include <boost/algorithm/cxx11/all_of.hpp>
38-
3937
#include <range/v3/view/reverse.hpp>
4038

4139
#include <ostream>

0 commit comments

Comments
 (0)