summaryrefslogtreecommitdiffstats
path: root/engine/flatserial.cpp
diff options
context:
space:
mode:
authorancarola <raffaele.ancarola@epfl.ch>2019-01-22 23:52:04 +0100
committerancarola <raffaele.ancarola@epfl.ch>2019-01-22 23:52:04 +0100
commit23a4f6aa162cf42eae31cc6bb4486949f4aaafa7 (patch)
tree51f1abe2b3ab642784d30cd8682100e69d77d78f /engine/flatserial.cpp
parentAdd include headers of libraries (diff)
downloadflatland-23a4f6aa162cf42eae31cc6bb4486949f4aaafa7.tar.gz
flatland-23a4f6aa162cf42eae31cc6bb4486949f4aaafa7.zip
Here we go
Diffstat (limited to 'engine/flatserial.cpp')
-rw-r--r--engine/flatserial.cpp6
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()