diff options
author | Samuel Just <sam.just@inktank.com> | 2013-04-29 11:26:26 -0700 |
---|---|---|
committer | Samuel Just <sam.just@inktank.com> | 2013-05-07 08:16:04 -0700 |
commit | fd63f8aa30c0cad0ad2cc382971d3f6842ae53cd (patch) | |
tree | 0f9273c96a7718756661365dce16ac2c945040c5 | |
parent | 4b548b5f0c6327e71a6e5397cf871f4964bb0b03 (diff) | |
download | ceph-fd63f8aa30c0cad0ad2cc382971d3f6842ae53cd.tar.gz |
WorkQueue: Allow WorkQueueVal to be specified with 1 type
Signed-off-by: Samuel Just <sam.just@inktank.com>
-rw-r--r-- | src/common/WorkQueue.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/WorkQueue.h b/src/common/WorkQueue.h index ced952c49cd..d936d77abef 100644 --- a/src/common/WorkQueue.h +++ b/src/common/WorkQueue.h @@ -153,7 +153,7 @@ public: } }; - template<typename T, typename U> + template<typename T, typename U = T> class WorkQueueVal : public WorkQueue_ { Mutex _lock; ThreadPool *pool; |