X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Ffilter_log.cpp;h=1e21fb734418fa831c55198f962fbbe93c11af3b;hb=a19294f809fc1e5481ad596faa5e604a6c84aa83;hp=2cc54a42efc0e384c902a5bab642ea4fa8e3a277;hpb=cf09b1981338f07c333e43e0a2c907012c841c5d;p=metaproxy-moved-to-github.git diff --git a/src/filter_log.cpp b/src/filter_log.cpp index 2cc54a4..1e21fb7 100644 --- a/src/filter_log.cpp +++ b/src/filter_log.cpp @@ -1,4 +1,4 @@ -/* $Id: filter_log.cpp,v 1.6 2005-10-25 11:48:30 adam Exp $ +/* $Id: filter_log.cpp,v 1.7 2005-10-25 16:01:36 adam Exp $ Copyright (c) 2005, Index Data. %LICENSE% @@ -21,6 +21,7 @@ yp2::filter::Log::Log() {} +yp2::filter::Log::Log(const std::string &msg) : m_msg(msg) {} void yp2::filter::Log::process(Package &package) const { @@ -79,11 +80,6 @@ void yp2::filter::Log::process(Package &package) const { } } -void yp2::filter::Log::set_prefix(const std::string &msg) -{ - m_msg = msg; -} - // defining and initializing static members boost::mutex yp2::filter::Log::m_log_mutex;