thread_group: fix build on older GCC

vtnerd (original author) confirmed this is the Right Way.
release-v0.11.0.0
moneromooo-monero 8 years ago
parent 2d0fbaf35b
commit 81c6bb9a40
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

@ -112,12 +112,10 @@ private:
struct work; struct work;
struct node { struct node {
node() = delete;
std::unique_ptr<work> ptr; std::unique_ptr<work> ptr;
}; };
struct work { struct work {
work() = delete;
std::function<void()> f; std::function<void()> f;
node next; node next;
}; };

Loading…
Cancel
Save