From add76d3ed22a7ceba780cdef68d81404eb048e88 Mon Sep 17 00:00:00 2001 From: mooophy Date: Mon, 8 Dec 2014 00:43:21 +1300 Subject: [PATCH] add Pool modified: assignment3/as3/main.cpp --- assignment3/as3/main.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/assignment3/as3/main.cpp b/assignment3/as3/main.cpp index 5fbe095..4092f88 100644 --- a/assignment3/as3/main.cpp +++ b/assignment3/as3/main.cpp @@ -114,9 +114,8 @@ template struct Pool : public std::vector > { using Super = std::vector >; - Pool(std::size_t sz) : Super(sz) {} - - void pop_each() + Pool(std::size_t sz) : Super(sz){} + void pop_each() //for output queue { for(auto& q : *this) q.leave(); }