X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fsupport%2Fbind.h;h=e9b6a632771083f081d3cd9f5ab39c305748ecd8;hb=c1945d27dfd19ef698ae7506c1311ce94091207a;hp=08dd71a88598b4822455775286ba896a25da875e;hpb=9c55af4a223ce4db29d643251109e245665344bd;p=lyx.git diff --git a/src/support/bind.h b/src/support/bind.h index 08dd71a885..e9b6a63277 100644 --- a/src/support/bind.h +++ b/src/support/bind.h @@ -14,30 +14,13 @@ #include "support/functional.h" -#if __cplusplus >= 201103L - -#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