From e209dd4cb09066d384175324ca9454b9a10fce5d Mon Sep 17 00:00:00 2001 From: Ilya Gradina Date: Sat, 18 Mar 2017 19:30:26 +0300 Subject: [PATCH] fix error build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit add "#include " , because - error: ‘function’ is not a member of ‘std’ --- base/threadpool.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/base/threadpool.hpp b/base/threadpool.hpp index 3f1b98c5..e5dc1476 100644 --- a/base/threadpool.hpp +++ b/base/threadpool.hpp @@ -11,6 +11,7 @@ #include #include #include +#include // make_unique is not available in C++11 // Taken from Herb Sutter's blog (https://herbsutter.com/gotw/_102/) @@ -117,4 +118,4 @@ namespace vks } }; -} \ No newline at end of file +}