diff options
author | Treeki <treeki@gmail.com> | 2012-01-08 17:32:49 +0100 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2012-01-08 17:32:49 +0100 |
commit | ac69cf874d619722b1d93526702ea81aa24c7e48 (patch) | |
tree | c1f763edb12f1cfbcf30f8ae312275b16c4ced03 /include/statelib.h | |
parent | 14fc0d0f71e1cb682473b7f7bbc959cfa70d163d (diff) | |
download | kamek-ac69cf874d619722b1d93526702ea81aa24c7e48.tar.gz kamek-ac69cf874d619722b1d93526702ea81aa24c7e48.zip |
states fixed, now compiles
Diffstat (limited to '')
-rw-r--r-- | include/statelib.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/statelib.h b/include/statelib.h index d387f02..092ef6a 100644 --- a/include/statelib.h +++ b/include/statelib.h @@ -90,8 +90,8 @@ void dState_c<TOwner>::doEnd(TOwner *owner) { /******************************************************************************/ class dStatePointless_c { public: - virtual ~dStatePointless_c(); - virtual int returnsOne(); // Does exactly what it says on the tin. + virtual ~dStatePointless_c() { }; + virtual int returnsOne() { return 1; } }; /******************************************************************************/ @@ -99,7 +99,7 @@ class dStatePointless_c { /******************************************************************************/ class dStateMethodExecutorBase_c { public: - virtual ~dStateMethodExecutorBase_c() = 0; + virtual ~dStateMethodExecutorBase_c() { } virtual void callBegin() = 0; virtual void callExecute() = 0; @@ -108,7 +108,7 @@ class dStateMethodExecutorBase_c { class dStateExecutorBase_c { public: - virtual ~dStateExecutorBase_c() = 0; + virtual ~dStateExecutorBase_c() { } virtual dStateMethodExecutorBase_c *getMethodExecutorForState(dStateBase_c *state) = 0; virtual void clearMethodExecutor(dStateMethodExecutorBase_c **ptrToPtrToExecutor) = 0; @@ -120,7 +120,7 @@ class dStateExecutorBase_c { template <class TOwner> class dStateMethodExecutor_c : public dStateMethodExecutorBase_c { public: - ~dStateMethodExecutor_c(); + ~dStateMethodExecutor_c() { } void callBegin(); void callExecute(); @@ -133,7 +133,7 @@ class dStateMethodExecutor_c : public dStateMethodExecutorBase_c { template <class TOwner> class dStateExecutor_c : public dStateExecutorBase_c { public: - ~dStateExecutor_c(); + ~dStateExecutor_c() { } dStateMethodExecutorBase_c *getMethodExecutorForState(dStateBase_c *state); void clearMethodExecutor(dStateMethodExecutorBase_c **ptrToPtrToExecutor); @@ -225,7 +225,7 @@ protected: class dStateMgr_c : public dStateMgrBase_c { public: dStateMgr_c(dStatePointless_c *pPointlessClass, dStateExecutorBase_c *pStateExecutor, dStateBase_c *pInitState); - ~dStateMgr_c(); + ~dStateMgr_c() { } bool callBeginOnState(); void callExecuteOnState(); |