mirror of
https://github.com/monero-project/monero.git
synced 2024-10-01 11:49:47 -04:00
Merge pull request #1431
81c6bb9a
thread_group: fix build on older GCC (moneromooo-monero)
This commit is contained in:
commit
84d3107600
@ -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…
Reference in New Issue
Block a user