From d230302b16474ff22a35243ffed6236ef4fc7fb9 Mon Sep 17 00:00:00 2001 From: Paradox Date: Mon, 9 Feb 2009 08:16:34 -0500 Subject: Replace tabs with spaces in more files. --HG-- branch : trunk --- dep/include/zthread/Task.h | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'dep/include/zthread/Task.h') diff --git a/dep/include/zthread/Task.h b/dep/include/zthread/Task.h index 6503be66f33..850ab98c043 100644 --- a/dep/include/zthread/Task.h +++ b/dep/include/zthread/Task.h @@ -27,9 +27,9 @@ #include "zthread/Runnable.h" namespace ZThread { - + class ThreadImpl; - + /** * @class Task * @@ -37,9 +37,9 @@ namespace ZThread { * @date <2003-07-20T05:22:38-0400> * @version 2.3.0 * - * A Task provides a CountedPtr wrapper for Runnable objects. - * This wrapper enables an implicit conversion from a - * Runnable* to a Task adding some syntactic sugar + * A Task provides a CountedPtr wrapper for Runnable objects. + * This wrapper enables an implicit conversion from a + * Runnable* to a Task adding some syntactic sugar * to the interface. */ class ZTHREAD_API Task : public CountedPtr { @@ -47,29 +47,29 @@ namespace ZThread { #if !defined(_MSC_VER) || (_MSC_VER > 1200) - + Task(Runnable* raw) - : CountedPtr(raw) { } + : CountedPtr(raw) { } #endif - + template Task(U* raw) - : CountedPtr(raw) { } - - Task(const CountedPtr& ptr) - : CountedPtr(ptr) { } - + : CountedPtr(raw) { } + + Task(const CountedPtr& ptr) + : CountedPtr(ptr) { } + template - Task(const CountedPtr& ptr) - : CountedPtr(ptr) { } - + Task(const CountedPtr& ptr) + : CountedPtr(ptr) { } + void operator()() { (*this)->run(); } - + }; /* Task */ - + } // namespace ZThread #endif // __ZTTASK_H__ -- cgit v1.2.3