X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2FLogger%2FTarget.hh;h=9065ef4c4075a511344665c906ab4478700702f4;hb=5bf459d443ab7cef04116bc0cb95e1af0178334f;hp=e969f1a8f326ab5120e39233c03743207661495a;hpb=3fdb9a73df4ef81bb8d5f817d443bbeb72cb1ad2;p=senf.git diff --git a/Utils/Logger/Target.hh b/Utils/Logger/Target.hh index e969f1a..9065ef4 100644 --- a/Utils/Logger/Target.hh +++ b/Utils/Logger/Target.hh @@ -160,7 +160,7 @@ namespace log { # endif RoutingEntry(); - bool operator==(RoutingEntry const & other); + bool operator==(RoutingEntry const & other) const; private: RoutingEntry(detail::StreamBase const * stream, detail::AreaBase const * area, @@ -333,12 +333,12 @@ namespace log { iterator begin() const; ///< Iterator to beginning of routing table iterator end() const; ///< Iterator past the end of routing table - RoutingEntry const & operator[](size_type i) ///< Access routing entry + RoutingEntry const & operator[](size_type i) const; ///< Access routing entry size_type size() const; ///< Number of routing table entries bool empty() const; ///< \c true, if routing table empty, \c false otherwise - void clear(); ///< Clear routing table + void flush(); ///< Clear routing table private: void route(detail::StreamBase const * stream, detail::AreaBase const * area,