X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2FLogger%2FTarget.ih;h=01d07281f768aad8db4358647dcb0101c7583001;hb=456ee576285b76aa46240f8001f426757810dcc1;hp=d80902ea41c8ad8c59100f3e8c1bd86399930c09;hpb=f32fbba56a55712998d251e914eb6e9ad95890e3;p=senf.git diff --git a/Utils/Logger/Target.ih b/Utils/Logger/Target.ih index d80902e..01d0728 100644 --- a/Utils/Logger/Target.ih +++ b/Utils/Logger/Target.ih @@ -28,7 +28,6 @@ // Custom includes #include -#include #include #include @@ -48,8 +47,6 @@ namespace detail { void write(StreamBase const & stream, AreaBase const & area, unsigned level, std::string msg); - void timeSource(std::auto_ptr source); - void routed(); bool fallbackRouting(); @@ -61,7 +58,6 @@ namespace detail { typedef std::set Targets; Targets targets_; - boost::scoped_ptr timeSource_; bool fallbackRouting_; @@ -87,7 +83,7 @@ namespace detail { // For g++ 4.0 (at least) we need to provide the fully scoped name for this default value. // no idea why. It works without the scope in 4.1 template < class T, class A2, class A1, - unsigned type = SENF_MPL_RV( senf::Log::detail::RouteParameterCheck_(static_cast(0)) ) > + unsigned type = SENF_MPL_RV( senf::log::detail::RouteParameterCheck_(static_cast(0)) ) > struct RouteParameters {}; @@ -113,7 +109,7 @@ namespace detail { : public RouteParameters { typedef RouteParameters base; - BOOST_STATIC_ASSERT( boost::is_same::value ); + BOOST_STATIC_ASSERT(( boost::is_same::value )); typedef T Stream; }; @@ -122,7 +118,7 @@ namespace detail { : public RouteParameters { typedef RouteParameters base; - BOOST_STATIC_ASSERT( boost::is_same::value ); + BOOST_STATIC_ASSERT(( boost::is_same::value )); typedef T Area; }; @@ -131,7 +127,7 @@ namespace detail { : public RouteParameters { typedef RouteParameters base; - BOOST_STATIC_ASSERT( boost::is_same::value ); + BOOST_STATIC_ASSERT(( boost::is_same::value )); typedef typename T::SENFLogArea Area; }; @@ -140,7 +136,7 @@ namespace detail { : public RouteParameters { typedef RouteParameters base; - BOOST_STATIC_ASSERT( boost::is_same::value ); + BOOST_STATIC_ASSERT(( boost::is_same::value )); typedef T Level; };