X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fsupport%2Ffunctional.h;h=6673dedb81485796abe39aeea66d23fb614995bd;hb=cf14e814124ccbc8155fa1dde98d03be319c0e87;hp=b86551d6f609a49e2db107e1baa9f93b71660ef2;hpb=6f34a8a6407823d6ef746f484a3100392f45d988;p=lyx.git diff --git a/src/support/functional.h b/src/support/functional.h index b86551d6f6..6673dedb81 100644 --- a/src/support/functional.h +++ b/src/support/functional.h @@ -12,25 +12,12 @@ #ifndef LYX_FUNCTIONAL_H #define LYX_FUNCTIONAL_H -#if __cplusplus >= 201103L - #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