diff options
author | ancarola <raffaele.ancarola@epfl.ch> | 2019-01-22 23:52:04 +0100 |
---|---|---|
committer | ancarola <raffaele.ancarola@epfl.ch> | 2019-01-22 23:52:04 +0100 |
commit | 23a4f6aa162cf42eae31cc6bb4486949f4aaafa7 (patch) | |
tree | 51f1abe2b3ab642784d30cd8682100e69d77d78f /engine/flatserial.cpp | |
parent | Add include headers of libraries (diff) | |
download | flatland-23a4f6aa162cf42eae31cc6bb4486949f4aaafa7.tar.gz flatland-23a4f6aa162cf42eae31cc6bb4486949f4aaafa7.zip |
Here we go
Diffstat (limited to 'engine/flatserial.cpp')
-rw-r--r-- | engine/flatserial.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/flatserial.cpp b/engine/flatserial.cpp index 7259bf1..826e001 100644 --- a/engine/flatserial.cpp +++ b/engine/flatserial.cpp @@ -1,13 +1,13 @@ #include "flatserial.h" -#include "flattask.h" +#include "task.hpp" SDL_EventCollector::SDL_EventCollector() { /* Checker task, pre-process, maximum priority */ - checker = new FlatTask<SDL_EventCollector>(this, &SDL_EventCollector::collect, 0, true, 0); + checker = new flat::core::task<SDL_EventCollector>(this, &SDL_EventCollector::collect, 0, true, 0); /* Eraser task, post-process, minimum priority */ - eraser = new FlatTask<SDL_EventCollector>(this, &SDL_EventCollector::erase, 0, false, 0xff); + eraser = new flat::core::task<SDL_EventCollector>(this, &SDL_EventCollector::erase, 0, false, 0xff); } SDL_EventCollector::~SDL_EventCollector() |