From e682a8e138c44e557c57a8dcf33555ad7790dd8c Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 21 Jul 2016 18:14:16 +0200 Subject: Fix assertion failure in ThreadPool::enqueue() --- src/libutil/thread-pool.hh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/libutil/thread-pool.hh') diff --git a/src/libutil/thread-pool.hh b/src/libutil/thread-pool.hh index 78b63467d6..b64dc52d47 100644 --- a/src/libutil/thread-pool.hh +++ b/src/libutil/thread-pool.hh @@ -10,6 +10,8 @@ namespace nix { +MakeError(ThreadPoolShutDown, Error) + /* A simple thread pool that executes a queue of work items (lambdas). */ class ThreadPool -- cgit 1.4.1