No need templates, templates bad, unneeded templates make c++god angry
This commit is contained in:
parent
5ca0fc3e23
commit
8ade68101b
2 changed files with 1 additions and 2 deletions
|
@ -12,7 +12,6 @@ typedef char unitType_c;
|
||||||
typedef char unitVis_c;
|
typedef char unitVis_c;
|
||||||
|
|
||||||
// Base unit type
|
// Base unit type
|
||||||
template < unitType_c unit_type >
|
|
||||||
class CUnit
|
class CUnit
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
// V unit
|
// V unit
|
||||||
class CUnitV
|
class CUnitV
|
||||||
: public CUnit<'V'>
|
: public CUnit
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
CUnitV();
|
CUnitV();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue