RPC
RPC copied to clipboard
Compilation error:ThreadPoolStrategy.cpp:66:45: error: no member named 'task_functor' in namespace 'boost::threadpool'
Hello,I copied
/home/user/RPC/thirdparty/boost-threadpool
to
/usr/include/boost
but got this compilation error:
home/alex/software/RPC/src/strategies/ThreadPoolStrategy.cpp:66:62: error: expected '(' for function-style cast or type construction
m_pool->schedule(boost::threadpool::task_functor<void>(boost::bind(&ThreadPoolStrategyJob::run, job)));
~~~~^
/home/alex/software/RPC/src/strategies/ThreadPoolStrategy.cpp:66:45: error: no member named 'task_functor' in namespace 'boost::threadpool'
m_pool->schedule(boost::threadpool::task_functor<void>(boost::bind(&ThreadPoolStrategyJob::run, job)));