From 38d7af6768871a5d285e776bbcfe18b6e7440cfb Mon Sep 17 00:00:00 2001 From: johannst Date: Mon, 28 Sep 2020 00:23:30 +0200 Subject: replace vector with fwd list --- lib/executor.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/executor.h') diff --git a/lib/executor.h b/lib/executor.h index 5d2e5b6..67493d4 100644 --- a/lib/executor.h +++ b/lib/executor.h @@ -4,8 +4,8 @@ #include "thread.h" +#include #include -#include namespace nMatcha { struct Executor { @@ -20,7 +20,7 @@ namespace nMatcha { private: void* mStackPtr; - std::vector> mThreads; + std::forward_list> mThreads; void yield_to(const Thread* t) const; }; -- cgit v1.2.3