]> git.lyx.org Git - lyx.git/blobdiff - src/support/bind.h
Remove non-copyable idioms
[lyx.git] / src / support / bind.h
index 1449c4394a7e6569b77138743d606700a97ac0b6..5a734ff931ae31460bcb8f36caeb8bca2c5ee1ee 100644 (file)
 
 #include "support/functional.h"
 
-#ifdef LYX_USE_CXX11
-
-#define LYX_BIND_NS std
-
 namespace lyx
 {
        using std::placeholders::_1;
        using std::placeholders::_2;
+       using std::bind;
+       using std::ref;
 }
 
-#else
-
-#include <boost/bind.hpp>
-#define LYX_BIND_NS boost
-
-#endif
-
-namespace lyx
-{
-       using LYX_BIND_NS::bind;
-       using LYX_BIND_NS::ref;
-}
-
-#undef LYX_BIND_NS
-
 
 #endif