No need templates, templates bad, unneeded templates make c++god angry

This commit is contained in:
Marc Di Luzio 2014-12-16 13:12:56 +00:00
parent 5ca0fc3e23
commit 8ade68101b
2 changed files with 1 additions and 2 deletions

View file

@ -12,7 +12,6 @@ typedef char unitType_c;
typedef char unitVis_c;
// Base unit type
template < unitType_c unit_type >
class CUnit
{
public:

View file

@ -5,7 +5,7 @@
// V unit
class CUnitV
: public CUnit<'V'>
: public CUnit
{
public:
CUnitV();