]> git.lyx.org Git - lyx.git/blobdiff - src/support/bind.h
Fix bug #4269
[lyx.git] / src / support / bind.h
index f613bdb40851d32329d95ad87b5b87f249fb560b..e9b6a632771083f081d3cd9f5ab39c305748ecd8 100644 (file)
 #ifndef LYX_BIND_H
 #define LYX_BIND_H
 
-#include "checktr1.h"
-
-
-#ifdef LYX_USE_TR1
-
-#include <functional>
-
-#ifdef __GNUC__
-#include <tr1/functional>
-#endif
-
-namespace lyx
-{
-       using std::tr1::bind;
-       using std::tr1::placeholders::_1;
-       using std::tr1::placeholders::_2;
-       using std::tr1::ref;
-}
-
-#else
-
-#include "boost/bind.hpp"
+#include "support/functional.h"
 
 namespace lyx
 {
-       using boost::bind;
-       using boost::ref;
-}
-
-#endif
+       using std::placeholders::_1;
+       using std::placeholders::_2;
+       using std::bind;
+       using std::ref;
+} // namespace
 
 
 #endif