X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2FLogger%2FStreamRegistry.hh;h=48e5c59a1816bfc1351132d8bb73ab37cf7395c5;hb=5443435c4c2b6e4386c5334b5b8358273f2bae93;hp=1d098db1d4a0eb3c9760a052ec12624a0305ffa6;hpb=4e05bff7db89ed83bfe3846c56273c7c91c6be59;p=senf.git diff --git a/Utils/Logger/StreamRegistry.hh b/Utils/Logger/StreamRegistry.hh index 1d098db..48e5c59 100644 --- a/Utils/Logger/StreamRegistry.hh +++ b/Utils/Logger/StreamRegistry.hh @@ -29,6 +29,7 @@ // Custom includes #include #include +#include #include #include "Levels.hh" #include "../singleton.hh" @@ -55,14 +56,9 @@ namespace log { { typedef std::map Registry; - struct SelectName - { - typedef std::string result_type; - std::string const & operator()(Registry::value_type const & v) const; - }; - public: - typedef boost::transform_iterator iterator; + typedef boost::transform_iterator< ::__gnu_cxx::select1st, + Registry::const_iterator > iterator; # ifdef DOXYGEN // Hmm ... doxygen does not understand 'using declarations' ...