X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fsupport%2Fbind.h;h=e9b6a632771083f081d3cd9f5ab39c305748ecd8;hb=1410eeb10e4ce1549ce381ab7ae85847c442c41f;hp=f00d1629b4a687ab346d117679d6b4b1e4b1cd5c;hpb=4654a8bf96b144b7d89b595abdbdbf4c8f082965;p=lyx.git diff --git a/src/support/bind.h b/src/support/bind.h index f00d1629b4..e9b6a63277 100644 --- a/src/support/bind.h +++ b/src/support/bind.h @@ -12,21 +12,15 @@ #ifndef LYX_BIND_H #define LYX_BIND_H -#if defined(_MSC_VER) && (_MSC_VER >= 1600) - -#include -using std::tr1::bind; -using std::tr1::placeholders::_1; -using std::tr1::placeholders::_2; -using std::tr1::ref; - -#else - -#include "boost/bind.hpp" -using boost::bind; -using boost::ref; - -#endif +#include "support/functional.h" + +namespace lyx +{ + using std::placeholders::_1; + using std::placeholders::_2; + using std::bind; + using std::ref; +} // namespace #endif