X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=flower%2Finclude%2Fstd-vector.hh;h=ec45376efa8fda0e9b335ae4d71afd8f1a7bf91e;hb=dff732268215aa3dd27c2ca918db2f70f294cc53;hp=ba85cb5a2aafbed86ea42f834788da2a5004c075;hpb=a6bd229f7fe1dc4a03478e14ccc0c0c66b225061;p=lilypond.git diff --git a/flower/include/std-vector.hh b/flower/include/std-vector.hh index ba85cb5a2a..ec45376efa 100644 --- a/flower/include/std-vector.hh +++ b/flower/include/std-vector.hh @@ -37,10 +37,6 @@ using namespace std; -#if HAVE_BOOST_LAMBDA_LAMBDA_HPP -#include -#endif - template int default_compare (T const &a, T const &b) { @@ -238,18 +234,6 @@ find (vector const &v, T const &key) return find (v.begin (), v.end (), key); } -#if HAVE_BOOST_LAMBDA_LAMBDA_HPP -#include -using namespace boost::lambda; -template -void -junk_pointers (vector &v) -{ - for_each (v.begin (), v.end (), (delete _1, _1 = 0)); - v.clear (); -} -#else - template struct del : public unary_function { void operator() (T x) @@ -267,7 +251,6 @@ junk_pointers (vector &v) for_each (v.begin (), v.end (), del ()); v.clear (); } -#endif /* HAVE_BOOST_LAMBDA */ vector string_split (string str, char c); string string_join (vector const &strs, string infix);