X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=src%2Ftest_thread_pool_observer.cpp;h=9700db10e5a15249a70f7a0c5009daccc366a6aa;hb=aff78cecdb2c7292899ae15ee8a5fd41accef2b5;hp=84af589d5ecc30f59e3081566dfa6e7b30d15019;hpb=e9530d6289df9b848e4901d7c73f5a2f27706d66;p=metaproxy-moved-to-github.git diff --git a/src/test_thread_pool_observer.cpp b/src/test_thread_pool_observer.cpp index 84af589..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++; @@ -120,8 +120,8 @@ BOOST_AUTO_TEST_CASE( thread_pool_observer1 ) /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil - * c-file-style: "stroustrup" * End: * vim: shiftwidth=4 tabstop=8 expandtab */