X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=src%2Ftest_thread_pool_observer.cpp;h=9700db10e5a15249a70f7a0c5009daccc366a6aa;hb=ce4555008a27376b5d04e361bd3128049fdaca26;hp=06ea179156997ecfb04ff02b69e1ad8a31af7cd9;hpb=665559cbc22546e8df69be33a7d492294cab9fb1;p=metaproxy-moved-to-github.git diff --git a/src/test_thread_pool_observer.cpp b/src/test_thread_pool_observer.cpp index 06ea179..9700db1 100644 --- a/src/test_thread_pool_observer.cpp +++ b/src/test_thread_pool_observer.cpp @@ -1,5 +1,5 @@ /* This file is part of Metaproxy. - Copyright (C) 2005-2008 Index Data + Copyright (C) 2005-2012 Index Data Metaproxy is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -39,7 +39,7 @@ class My_Timer_Thread; class My_Msg : public mp::IThreadPoolMsg { public: mp::IThreadPoolMsg *handle(); - void result(); + void result(const char *t_info); int m_val; My_Timer_Thread *m_timer; }; @@ -70,7 +70,7 @@ mp::IThreadPoolMsg *My_Msg::handle() return res; } -void My_Msg::result() +void My_Msg::result(const char *t_info) { m_timer->m_sum += m_val; m_timer->m_responses++;