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;
|
||||
|
||||
// Base unit type
|
||||
template < unitType_c unit_type >
|
||||
class CUnit
|
||||
{
|
||||
public:
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
// V unit
|
||||
class CUnitV
|
||||
: public CUnit<'V'>
|
||||
: public CUnit
|
||||
{
|
||||
public:
|
||||
CUnitV();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue