OpenToonz - An open-source full-featured 2D animation creation software
C
Use std::copy_if
Tact Yoshidafd62558d54c9
diff --git a/toonz/sources/tnztools/levelselection.cpp b/toonz/sources/tnztools/levelselection.cppindex bd7790727..bfa0d427e 100644--- a/toonz/sources/tnztools/levelselection.cpp+++ b/toonz/sources/tnztools/levelselection.cpp@@ -13,12 +13,9 @@#include "tregion.h"// Boost includes-#include <boost/algorithm/cxx11/copy_if.hpp>#include <boost/iterator/counting_iterator.hpp>#include <boost/bind.hpp>-namespace boost_a = boost::algorithm;-//*******************************************************************************// Local namespace stuff//*******************************************************************************@@ -108,10 +105,10 @@ void getBoundaries(TVectorImage &vi, std::vector<int> &strokes) {}// Output all not internal regions- boost_a::copy_if(boost::make_counting_iterator(0u),- boost::make_counting_iterator(vi.getStrokeCount()),- std::back_inserter(strokes),- boost::bind(locals::isBoundary, sData, _1));+ std::copy_if(boost::make_counting_iterator(0u),+ boost::make_counting_iterator(vi.getStrokeCount()),+ std::back_inserter(strokes),+ boost::bind(locals::isBoundary, sData, _1));}} // namespace