diff options
| author | Nicolas Noble <nnoble@blizzard.com> | 2014-08-11 11:53:59 -0700 | 
|---|---|---|
| committer | Nicolas Noble <nnoble@blizzard.com> | 2014-08-11 11:53:59 -0700 | 
| commit | ae874e92caa10f9dfd74c63827905063a2c5717c (patch) | |
| tree | cae85416a50297732a2d2d43e3f405d0a81dd77a /src/LuaLoad.cc | |
| parent | da30e788fea8391efecc648ae0efc8db665a1a02 (diff) | |
Bug fixing - how was that even working... ?
Diffstat (limited to 'src/LuaLoad.cc')
| -rw-r--r-- | src/LuaLoad.cc | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/src/LuaLoad.cc b/src/LuaLoad.cc index 79453ea..8e634b5 100644 --- a/src/LuaLoad.cc +++ b/src/LuaLoad.cc @@ -1,5 +1,6 @@  #include <memory> +#include "LuaHandle.h"  #include "LuaLoad.h"  #include "LuaTask.h"  #include "Buffer.h" @@ -9,7 +10,7 @@ using namespace Balau;  namespace { -class LuaLoad { }; +struct LuaLoad { void cleanup() { } };  enum LuaLoad_functions_t {      LUALOAD @@ -29,7 +30,7 @@ struct sLua_LuaLoad {              WAITTASK,          } status;          if (L.isobject()) { -            h = L.recast<Handle>(); +            h = L.recast<LuaIO>()->getIO();              if (h.isA<Buffer>()) {                  L.load(h);                  return 0; | 
