summaryrefslogtreecommitdiff
path: root/includes/LuaTask.h
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2014-06-18 17:33:35 -0700
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2014-06-18 17:33:35 -0700
commite3c2cf74256daf8131f39631d349a9fa9cacacc2 (patch)
treecb6c1626f3e6ceea3e7d321cc754d43a99e9add0 /includes/LuaTask.h
parentc8894935485859b4f14dbf8be9d087e1d7399980 (diff)
Adding basic CurlTask, as well as support for it in Balau. Also removing c++11-surrogates.h, as we're on a modern compiler now.
Diffstat (limited to 'includes/LuaTask.h')
-rw-r--r--includes/LuaTask.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/includes/LuaTask.h b/includes/LuaTask.h
index a12f89f..e3dfe1c 100644
--- a/includes/LuaTask.h
+++ b/includes/LuaTask.h
@@ -1,6 +1,5 @@
#pragma once
-#include <c++11-surrogates.h>
#include <BLua.h>
#include <Task.h>
#include <StacklessTask.h>
@@ -58,7 +57,7 @@ class LuaTask : public Task {
~LuaTask() { L.weaken(); }
virtual const char * getName() const { return "LuaTask"; }
private:
- LuaTask(Lua && __L, LuaExecCell * cell) : L(Move(__L)), m_cell(cell) { if (!cell->needsStack()) setStackless(); }
+ LuaTask(Lua && __L, LuaExecCell * cell) : L(std::move(__L)), m_cell(cell) { if (!cell->needsStack()) setStackless(); }
virtual void Do();
Lua L;
LuaExecCell * m_cell;