mirror of
https://github.com/monero-project/monero.git
synced 2026-01-22 20:34:23 +01:00
thread_group: fix build on older GCC
vtnerd (original author) confirmed this is the Right Way.
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user