X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fsupport%2Fbind.h;h=e9b6a632771083f081d3cd9f5ab39c305748ecd8;hb=cc2835392294fb1e82a89b2ec3803f78c9183f18;hp=4d2968048d087760de846fd03c6bfbc62da35dfe;hpb=af928c503de3dbed4575bc26f0b2894a1d7b7eb7;p=lyx.git diff --git a/src/support/bind.h b/src/support/bind.h index 4d2968048d..e9b6a63277 100644 --- a/src/support/bind.h +++ b/src/support/bind.h @@ -12,33 +12,15 @@ #ifndef LYX_BIND_H #define LYX_BIND_H -#ifdef LYX_USE_TR1 - -#include - -#ifdef __GNUC__ -#include -#endif - -namespace lyx -{ - using std::tr1::bind; - using std::tr1::placeholders::_1; - using std::tr1::placeholders::_2; - using std::tr1::ref; -} - -#else - -#include +#include "support/functional.h" namespace lyx { - using boost::bind; - using boost::ref; -} - -#endif + using std::placeholders::_1; + using std::placeholders::_2; + using std::bind; + using std::ref; +} // namespace #endif