X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fsupport%2Ffunctional.h;h=6673dedb81485796abe39aeea66d23fb614995bd;hb=037b1e14789223c89e88e8bd74baffa4d0956571;hp=5d373d1d14b2cf4e85a0476660e0578a1207800a;hpb=329eae5605d7bc40a53ebafa817470d9739ff632;p=lyx.git diff --git a/src/support/functional.h b/src/support/functional.h index 5d373d1d14..6673dedb81 100644 --- a/src/support/functional.h +++ b/src/support/functional.h @@ -12,25 +12,12 @@ #ifndef LYX_FUNCTIONAL_H #define LYX_FUNCTIONAL_H -#ifdef LYX_USE_CXX11 - #include -#define LYX_FUNCTIONAL_NS std - -#else - -#include -#include -#define LYX_FUNCTIONAL_NS boost - -#endif namespace lyx { - using LYX_FUNCTIONAL_NS::function; + using std::function; } -#undef LYX_FUNCTIONAL_NS - #endif