]> git.lyx.org Git - lyx.git/blobdiff - src/support/functional.h
thinko
[lyx.git] / src / support / functional.h
index 5d373d1d14b2cf4e85a0476660e0578a1207800a..6673dedb81485796abe39aeea66d23fb614995bd 100644 (file)
 #ifndef LYX_FUNCTIONAL_H
 #define LYX_FUNCTIONAL_H
 
-#ifdef LYX_USE_CXX11
-
 #include <functional>
-#define LYX_FUNCTIONAL_NS std
-
-#else
-
-#include <boost/function.hpp>
-#include <boost/functional.hpp>
-#define LYX_FUNCTIONAL_NS boost
-
-#endif
 
 namespace lyx
 {
-       using LYX_FUNCTIONAL_NS::function;
+       using std::function;
 }
 
-#undef LYX_FUNCTIONAL_NS
-
 
 #endif