]> git.lyx.org Git - lyx.git/blobdiff - src/support/bind.h
Hack to display section symbol
[lyx.git] / src / support / bind.h
index 1449c4394a7e6569b77138743d606700a97ac0b6..e9b6a632771083f081d3cd9f5ab39c305748ecd8 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;
-}
-
-#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
+       using std::bind;
+       using std::ref;
+} // namespace
 
 
 #endif