From fd62558d54c9f24dbce12e0b50a5147add7154ad Mon Sep 17 00:00:00 2001 From: Tact Yoshida Date: Feb 03 2020 20:12:52 +0000 Subject: Use std::copy_if --- diff --git a/toonz/sources/tnztools/levelselection.cpp b/toonz/sources/tnztools/levelselection.cpp index bd77907..bfa0d42 100644 --- a/toonz/sources/tnztools/levelselection.cpp +++ b/toonz/sources/tnztools/levelselection.cpp @@ -13,12 +13,9 @@ #include "tregion.h" // Boost includes -#include #include #include -namespace boost_a = boost::algorithm; - //******************************************************************************* // Local namespace stuff //******************************************************************************* @@ -108,10 +105,10 @@ void getBoundaries(TVectorImage &vi, std::vector &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