X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=src%2Ftest_thread_pool_observer.cpp;h=9700db10e5a15249a70f7a0c5009daccc366a6aa;hb=aff78cecdb2c7292899ae15ee8a5fd41accef2b5;hp=bde7c3dccf734ec9cc136904540f32ba5cd157f0;hpb=c1d953eee6c00432493bc364da6284704ccd9cc2;p=metaproxy-moved-to-github.git diff --git a/src/test_thread_pool_observer.cpp b/src/test_thread_pool_observer.cpp index bde7c3d..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-2011 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++;