aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-06-30 14:17:42 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-06-30 14:17:42 +0000
commit75d7b3c1fe6aabd738878fd8b1163395353f13fd (patch)
treee27cdf430d4ce8cc950e4664a5256b7dfcd722e6
parentdc35f2a0535e9b5a67cfd908d87d91713447ec4e (diff)
downloadpaludis-75d7b3c1fe6aabd738878fd8b1163395353f13fd.tar.gz
paludis-75d7b3c1fe6aabd738878fd8b1163395353f13fd.tar.xz
r3676@snowflake: ciaranm | 2007-06-30 15:17:30 +0100
Fix
-rw-r--r--paludis/util/action_queue.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/paludis/util/action_queue.cc b/paludis/util/action_queue.cc
index 3e994a9..fe85a70 100644
--- a/paludis/util/action_queue.cc
+++ b/paludis/util/action_queue.cc
@@ -85,7 +85,11 @@ namespace paludis
}
ActionQueue::ActionQueue(const unsigned n_threads) :
+#ifdef PALUDIS_ENABLE_THREADS
PrivateImplementationPattern<ActionQueue>(new Implementation<ActionQueue>(n_threads))
+#else
+ PrivateImplementationPattern<ActionQueue>(new Implementation<ActionQueue>())
+#endif
{
}