aboutsummaryrefslogtreecommitdiff
path: root/src/common/thread_group.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-12-11 13:59:42 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-12-11 13:59:42 +0000
commit81c6bb9a403e6e7401990ad52d29e35adcffc91a (patch)
treebd78a33899b1671503f13625d25acfda0b26b2cb /src/common/thread_group.h
parentMerge pull request #1422 (diff)
downloadmonero-81c6bb9a403e6e7401990ad52d29e35adcffc91a.tar.xz
thread_group: fix build on older GCC
vtnerd (original author) confirmed this is the Right Way.
Diffstat (limited to 'src/common/thread_group.h')
-rw-r--r--src/common/thread_group.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/common/thread_group.h b/src/common/thread_group.h
index 62e82d832..10add89e0 100644
--- a/src/common/thread_group.h
+++ b/src/common/thread_group.h
@@ -112,12 +112,10 @@ private:
struct work;
struct node {
- node() = delete;
std::unique_ptr<work> ptr;
};
struct work {
- work() = delete;
std::function<void()> f;
node next;
};