X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fsupport%2Fbind.h;h=e9b6a632771083f081d3cd9f5ab39c305748ecd8;hb=5cb80b867f4a59c3253487652ba74a29ad5b3f0f;hp=1449c4394a7e6569b77138743d606700a97ac0b6;hpb=329eae5605d7bc40a53ebafa817470d9739ff632;p=lyx.git diff --git a/src/support/bind.h b/src/support/bind.h index 1449c4394a..e9b6a63277 100644 --- a/src/support/bind.h +++ b/src/support/bind.h @@ -14,30 +14,13 @@ #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 -#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