fix error build

add "#include <functional>" , because  -  error: ‘function’ is not a member of ‘std’
This commit is contained in:
Ilya Gradina 2017-03-18 19:30:26 +03:00 committed by GitHub
parent 0192b404d9
commit e209dd4cb0

View file

@ -11,6 +11,7 @@
#include <queue> #include <queue>
#include <mutex> #include <mutex>
#include <condition_variable> #include <condition_variable>
#include <functional>
// make_unique is not available in C++11 // make_unique is not available in C++11
// Taken from Herb Sutter's blog (https://herbsutter.com/gotw/_102/) // Taken from Herb Sutter's blog (https://herbsutter.com/gotw/_102/)