Fix crash under linux in Hamsandwich module

Fix crash under linux in Hamsandwich module
This commit is contained in:
Arkshine
2015-03-24 01:25:36 +01:00
parent a182ca62c8
commit b6febae2fa
4 changed files with 11 additions and 5 deletions

View File

@@ -16,6 +16,8 @@
#ifndef FORWARD_H
#define FORWARD_H
#include <am-refcounting.h>
enum fwdstate
{
FSTATE_INVALID = 0,
@@ -25,7 +27,7 @@ enum fwdstate
FSTATE_DESTROY
};
class Forward
class Forward :public ke::Refcounted<Forward>
{
public:
int id; // id of the forward