aboutsummaryrefslogtreecommitdiff
path: root/dep/src/zthread/Scheduling.h
diff options
context:
space:
mode:
authorParadox <none@none>2009-02-09 08:16:34 -0500
committerParadox <none@none>2009-02-09 08:16:34 -0500
commitd230302b16474ff22a35243ffed6236ef4fc7fb9 (patch)
treee3679ad841a47b275756f2721f9aa24a3ee548a6 /dep/src/zthread/Scheduling.h
parentb0694d7e5e794b361fa178d55fefdb98cf47e9ca (diff)
Replace tabs with spaces in more files.
--HG-- branch : trunk
Diffstat (limited to 'dep/src/zthread/Scheduling.h')
-rw-r--r--dep/src/zthread/Scheduling.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/dep/src/zthread/Scheduling.h b/dep/src/zthread/Scheduling.h
index b12f7fff0b6..00061341d62 100644
--- a/dep/src/zthread/Scheduling.h
+++ b/dep/src/zthread/Scheduling.h
@@ -52,7 +52,7 @@ namespace ZThread {
* @struct priority_order
*/
struct priority_order : public std::binary_function<ThreadImpl*, ThreadImpl*, bool> {
-
+
std::less<const ThreadImpl*> id;
bool operator()(const ThreadImpl* t0, const ThreadImpl* t1) const {
@@ -66,7 +66,7 @@ namespace ZThread {
return id(t0, t1);
}
-
+
};
@@ -76,15 +76,15 @@ namespace ZThread {
* @version 2.2.0
* @class priority_list
*/
- class priority_list : public std::deque<ThreadImpl*> {
+ class priority_list : public std::deque<ThreadImpl*> {
priority_order comp;
public:
- void insert(const value_type& val) {
+ void insert(const value_type& val) {
- push_back(val);
+ push_back(val);
std::sort(begin(), end(), comp);
}