Adapted tacos.hpp to fit changes

This commit is contained in:
CarlWachter 2024-01-30 14:21:14 +01:00
parent 96147df269
commit 39aa85ce75

View File

@ -68,7 +68,7 @@ namespace sta
* @ingroup tacos_api * @ingroup tacos_api
*/ */
template<typename T, typename ... Args> template<typename T, typename ... Args>
std::shared_ptr<T> addThread(std::list<uint16_t> states, Args ... args) std::shared_ptr<T> addThread(std::set<uint16_t> states, Args ... args)
{ {
std::shared_ptr<T> thread_ptr = std::make_shared<T>(args...); std::shared_ptr<T> thread_ptr = std::make_shared<T>(args...);