home sargarass AKRM src workplaceagent agenthosts plugins cloudplugin

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
home/sargarass/AKRM/src/workplaceagent/agenthosts/plugins/cloudplugin/cloudplugin.cpp: В функции-члене «virtual void CloudPlugin::start()»:
/home/sargarass/AKRM/src/workplaceagent/agenthosts/plugins/cloudplugin/cloudplugin.cpp:173:39: ошибка: no matching function for call to «CloudPlugin::start_thread(void (CloudPlugin::*)(std::__cxx11::string), std::__cxx11::string&)»
start_thread(&CloudPlugin::test, t);
^
In file included from /home/sargarass/AKRM/src/workplaceagent/agenthosts/plugins/cloudplugin/cloudplugin.h:2:0,
from /home/sargarass/AKRM/src/workplaceagent/agenthosts/plugins/cloudplugin/cloudplugin.cpp:16:
/home/sargarass/AKRM/src/workplaceagent/agenthosts/plugins/cloudplugin/userpluginadapter.h:85:10: замечание: candidate: template<class _Object, class ... Args> void UserPlugin::start_thread(_Object&, void (_Object::*)(Args ...), Args&& ...)
void start_thread(_Object &obj, void (_Object::*fn)(Args ...), Args &&...args) {
^~~~~~~~~~~~
/home/sargarass/AKRM/src/workplaceagent/agenthosts/plugins/cloudplugin/userpluginadapter.h:85:10: замечание: вывод/подстановка аргумента шаблона неудачна:
/home/sargarass/AKRM/src/workplaceagent/agenthosts/plugins/cloudplugin/cloudplugin.cpp:173:39: замечание: несоответствие типов «void (_Object::*)(Args ...)» и «std::__cxx11::basic_string<char>»
start_thread(&CloudPlugin::test, t);
^
In file included from /home/sargarass/AKRM/src/workplaceagent/agenthosts/plugins/cloudplugin/cloudplugin.h:2:0,
from /home/sargarass/AKRM/src/workplaceagent/agenthosts/plugins/cloudplugin/cloudplugin.cpp:16:
/home/sargarass/AKRM/src/workplaceagent/agenthosts/plugins/cloudplugin/userpluginadapter.h:90:10: замечание: candidate: template<class _Plugin, class ... Args> void UserPlugin::start_thread(void (_Plugin::*)(Args ...), Args&& ...)
void start_thread(void (_Plugin::*fn)(Args ...), Args &&...args) {
^~~~~~~~~~~~
/home/sargarass/AKRM/src/workplaceagent/agenthosts/plugins/cloudplugin/userpluginadapter.h:90:10: замечание: вывод/подстановка аргумента шаблона неудачна:
/home/sargarass/AKRM/src/workplaceagent/agenthosts/plugins/cloudplugin/cloudplugin.cpp:173:39: замечание: противоречивый вывод parameter pack с «std::__cxx11::basic_string<char>» и «std::__cxx11::basic_string<char>&»
start_thread(&CloudPlugin::test, t);
^