diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2010-11-28 02:23:05 +0100 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2010-11-28 02:23:05 +0100 |
commit | 4303be8a4c343ad9085c2857cabc8e55f3bac525 (patch) | |
tree | 570fdeb3c3b696b5041f33c8a4d8261e20be4eea /include | |
parent | e060d02904b24c548a13deab4e51afe0ad823207 (diff) |
Changing the hashmap in LuaTask to a true C++ map.
Diffstat (limited to 'include')
-rw-r--r-- | include/LuaTask.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/LuaTask.h b/include/LuaTask.h index 3695dcb..ae18d40 100644 --- a/include/LuaTask.h +++ b/include/LuaTask.h @@ -21,7 +21,7 @@ #define __LUATASK_H__ #include <vector> -#include <hashtab.h> +#include <map> #include <Task.h> #include <Buffer.h> @@ -50,12 +50,12 @@ class LuaTask : public Task { String task; bool destroy_VM; - static htab * h; + static std::map<Lua *, LuaTask *> h; }; class LuaTaskMan : public LuaObject { public: static void pushstatics(Lua *) throw (GeneralException); -}; +}; #endif |