]> git.lyx.org Git - lyx.git/blobdiff - src/Cursor.cpp
* InsetListings.cpp:
[lyx.git] / src / Cursor.cpp
index 75f7a2df996d0d4025fb5ecf16798f4935f9cc69..5c5010cc4660ba43db4836722a6d8405f29a6857 100644 (file)
 #include "mathed/MathData.h"
 #include "mathed/MathMacro.h"
 
-#include <boost/bind.hpp>
+#include "support/bind.h"
 
 #include <sstream>
 #include <limits>
 #include <map>
+#include <algorithm>
 
 using namespace std;
 
@@ -1281,7 +1282,7 @@ void Cursor::plainInsert(MathAtom const & t)
 void Cursor::insert(docstring const & str)
 {
        for_each(str.begin(), str.end(),
-                boost::bind(static_cast<void(Cursor::*)(char_type)>
+                bind(static_cast<void(Cursor::*)(char_type)>
                             (&Cursor::insert), this, _1));
 }