Skip to content

Commit 5a5e0cc

Browse files
committed
Remove unused ill-formed constructor that Clang complains about
1 parent 107f78b commit 5a5e0cc

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

src/xrGame/action_base.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,6 @@ class CActionBase : public GraphEngineSpace::CWorldOperator
6060
#endif
6161

6262
public:
63-
IC CActionBase(const xr_vector<COperatorCondition>& conditions, const xr_vector<COperatorCondition>& effects,
64-
_object_type* object = 0, LPCSTR action_name = "");
6563
IC CActionBase(_object_type* object, LPCSTR action_name = "");
6664
virtual ~CActionBase();
6765
IC void init(_object_type* object, LPCSTR action_name);

src/xrGame/action_base_inline.h

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,6 @@
1414
#define TEMPLATE_SPECIALIZATION template <typename _object_type>
1515
#define CBaseAction CActionBase<_object_type>
1616

17-
TEMPLATE_SPECIALIZATION
18-
IC CBaseAction::CActionBase(const xr_vector<COperatorCondition>& conditions,
19-
const xr_vector<COperatorCondition>& effects, _object_type* object, LPCSTR action_name)
20-
: inherited(conditions, effects)
21-
{
22-
init(object, action_name);
23-
}
24-
2517
TEMPLATE_SPECIALIZATION
2618
IC CBaseAction::CActionBase(_object_type* object, LPCSTR action_name) { init(object, action_name); }
2719
TEMPLATE_SPECIALIZATION

0 commit comments

Comments
 (0)