diff options
Diffstat (limited to 'src/tasks/tasks.hpp')
| -rw-r--r-- | src/tasks/tasks.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tasks/tasks.hpp b/src/tasks/tasks.hpp index 2e43b01a..b87c7fa2 100644 --- a/src/tasks/tasks.hpp +++ b/src/tasks/tasks.hpp @@ -45,7 +45,7 @@ enum class Type { }; template <Type t> -auto Name() -> std::string; +auto Name() -> std::pmr::string; template <Type t> auto AllocateStack() -> cpp::span<StackType_t>; template <Type t> @@ -76,7 +76,7 @@ auto StartPersistent(BaseType_t core, const std::function<void(void)>& fn) class Worker { private: - Worker(const std::string& name, + Worker(const std::pmr::string& name, cpp::span<StackType_t> stack, std::size_t queue_size, UBaseType_t priority); |
