summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/mlua_metatable.h
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2016-02-17 15:38:39 +0000
committerAlexander Lantsev <aunsane@gmail.com>2016-02-17 15:38:39 +0000
commit962a3d06bbd73aa7bb46eb8ae3e65c31a1902d5d (patch)
treefdb6bec16074d47e7be2aefea625500e94ff17c6 /plugins/MirLua/src/mlua_metatable.h
parent08d411ef426d5b630f0f4592be904ab9e1bd5e5a (diff)
MirLua: m_variableas moved to separate lua library
git-svn-id: http://svn.miranda-ng.org/main/trunk@16292 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua/src/mlua_metatable.h')
-rw-r--r--plugins/MirLua/src/mlua_metatable.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MirLua/src/mlua_metatable.h b/plugins/MirLua/src/mlua_metatable.h
index 143c3a6ace..39bc63149c 100644
--- a/plugins/MirLua/src/mlua_metatable.h
+++ b/plugins/MirLua/src/mlua_metatable.h
@@ -160,7 +160,7 @@ public:
}
template<typename L>
- MT& Field(L &f, const char *name, int type)
+ MT& Field(const L &f, const char *name, int type)
{
if (type != LUA_TNONE)
fields[name] = new MTField<T>(f, type);