Skip to content

Commit

Permalink
Remove unused ill-formed constructor that Clang complains about
Browse files Browse the repository at this point in the history
  • Loading branch information
Zegeri committed Sep 24, 2018
1 parent 107f78b commit 5a5e0cc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
2 changes: 0 additions & 2 deletions src/xrGame/action_base.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ class CActionBase : public GraphEngineSpace::CWorldOperator
#endif

public:
IC CActionBase(const xr_vector<COperatorCondition>& conditions, const xr_vector<COperatorCondition>& effects,
_object_type* object = 0, LPCSTR action_name = "");
IC CActionBase(_object_type* object, LPCSTR action_name = "");
virtual ~CActionBase();
IC void init(_object_type* object, LPCSTR action_name);
Expand Down
8 changes: 0 additions & 8 deletions src/xrGame/action_base_inline.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,6 @@
#define TEMPLATE_SPECIALIZATION template <typename _object_type>
#define CBaseAction CActionBase<_object_type>

TEMPLATE_SPECIALIZATION
IC CBaseAction::CActionBase(const xr_vector<COperatorCondition>& conditions,
const xr_vector<COperatorCondition>& effects, _object_type* object, LPCSTR action_name)
: inherited(conditions, effects)
{
init(object, action_name);
}

TEMPLATE_SPECIALIZATION
IC CBaseAction::CActionBase(_object_type* object, LPCSTR action_name) { init(object, action_name); }
TEMPLATE_SPECIALIZATION
Expand Down

0 comments on commit 5a5e0cc

Please sign in to comment.