aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-05-16 13:20:15 +0000
committerwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-05-16 13:20:15 +0000
commit1b16d798f4d03b0ce4d5dfc13d29d0e3fc92ce05 (patch)
tree579c5ada8c1730d526e0520774ee14e57fe9d922
parente39e144e1de65be5e13cf329f196116492be118e (diff)
downloadusdx-1b16d798f4d03b0ce4d5dfc13d29d0e3fc92ce05.tar.gz
usdx-1b16d798f4d03b0ce4d5dfc13d29d0e3fc92ce05.tar.xz
usdx-1b16d798f4d03b0ce4d5dfc13d29d0e3fc92ce05.zip
resolve some warnings
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1735 b956fd51-792f-4845-bead-9b4dfca2ff2c
-rw-r--r--Lua/src/lua/UHookableEvent.pas2
-rw-r--r--Lua/src/lua/ULuaCore.pas4
2 files changed, 3 insertions, 3 deletions
diff --git a/Lua/src/lua/UHookableEvent.pas b/Lua/src/lua/UHookableEvent.pas
index de5a8a83..b7f2fc47 100644
--- a/Lua/src/lua/UHookableEvent.pas
+++ b/Lua/src/lua/UHookableEvent.pas
@@ -74,7 +74,7 @@ type
function CallHookChain(Breakable: Boolean): PLua_State; //< calls the events hookchain. if breakable, plugin can breake the chain by returning a value != 0 or false or nil
- destructor Destroy;
+ destructor Destroy; override;
end;
{ the default function for THookableEvent.PrepareStack it don't pass any arguments }
diff --git a/Lua/src/lua/ULuaCore.pas b/Lua/src/lua/ULuaCore.pas
index 6ea5ecc6..5ecc07af 100644
--- a/Lua/src/lua/ULuaCore.pas
+++ b/Lua/src/lua/ULuaCore.pas
@@ -108,7 +108,7 @@ type
procedure Unload; //< Destroys the Luastate, and frees as much mem as possible, w/o destroying the class and important information
- destructor Destroy;
+ destructor Destroy; override;
end;
{ class managing the plugins w/ their LuaStates, the events and modules
@@ -128,7 +128,7 @@ type
function GetModuleIdByName(Name: String): Integer; //returns id of given module, or -1 if module is not found
public
constructor Create;
- destructor Destroy;
+ destructor Destroy; override;
procedure LoadPlugins; //< calls LoadPlugin w/ Plugindir and LoadingFinished Eventchain