X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=boost%2Fboost%2Flast_value.hpp;h=183a739eadcae3391856feccdebfe72a851d4392;hb=9c375cb606d7950f8f6bd31e7a841399dc7bbfb2;hp=392e2385643ec6aeaef03f41f2d716c9065ad4a0;hpb=2349a51b124cafaf65ca673f8e7fd931f4ba4961;p=lyx.git diff --git a/boost/boost/last_value.hpp b/boost/boost/last_value.hpp index 392e238564..183a739ead 100644 --- a/boost/boost/last_value.hpp +++ b/boost/boost/last_value.hpp @@ -11,6 +11,7 @@ #define BOOST_LAST_VALUE_HPP #include +#include namespace boost { template @@ -30,10 +31,15 @@ namespace boost { template<> struct last_value { +#ifdef BOOST_NO_VOID_RETURNS struct unusable {}; public: typedef unusable result_type; +#else + public: + typedef void result_type; +#endif // BOOST_NO_VOID_RETURNS template result_type