thread_group: fix build on older GCC

vtnerd (original author) confirmed this is the Right Way.
This commit is contained in:
moneromooo-monero 2016-12-11 13:59:42 +00:00
parent 2d0fbaf35b
commit 81c6bb9a40
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3

View file

@ -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;
};