X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=src%2Ffilter_session_shared.cpp;h=229c99b2b2910523489228da4abcb5e33aaa5dd9;hb=6f89f42a210fd19ec30db126c600443f664c9686;hp=ddff29b6dff7e7b04abfd574d4eec28e10dbf6ce;hpb=3ad0bd0907d1e9843632e0130151abee43a50492;p=metaproxy-moved-to-github.git diff --git a/src/filter_session_shared.cpp b/src/filter_session_shared.cpp index ddff29b..229c99b 100644 --- a/src/filter_session_shared.cpp +++ b/src/filter_session_shared.cpp @@ -1067,7 +1067,13 @@ void yf::SessionShared::Rep::expire() while (true) { boost::xtime xt; - boost::xtime_get(&xt, boost::TIME_UTC); + boost::xtime_get(&xt, +#if BOOST_VERSION >= 105000 + boost::TIME_UTC_ +#else + boost::TIME_UTC +#endif + ); xt.sec += m_session_ttl / 3; boost::thread::sleep(xt);