fix error build
add "#include <functional>" , because - error: ‘function’ is not a member of ‘std’
This commit is contained in:
parent
0192b404d9
commit
e209dd4cb0
1 changed files with 2 additions and 1 deletions
|
|
@ -11,6 +11,7 @@
|
|||
#include <queue>
|
||||
#include <mutex>
|
||||
#include <condition_variable>
|
||||
#include <functional>
|
||||
|
||||
// make_unique is not available in C++11
|
||||
// Taken from Herb Sutter's blog (https://herbsutter.com/gotw/_102/)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue