From 8ade68101b36b2a261ed5e743c9f57f4356864d1 Mon Sep 17 00:00:00 2001 From: Marc Di Luzio Date: Tue, 16 Dec 2014 13:12:56 +0000 Subject: [PATCH] No need templates, templates bad, unneeded templates make c++god angry --- game/unit.h | 1 - game/unitv.h | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/game/unit.h b/game/unit.h index 398adc3..128e87d 100644 --- a/game/unit.h +++ b/game/unit.h @@ -12,7 +12,6 @@ typedef char unitType_c; typedef char unitVis_c; // Base unit type -template < unitType_c unit_type > class CUnit { public: diff --git a/game/unitv.h b/game/unitv.h index baa0911..1da4710 100644 --- a/game/unitv.h +++ b/game/unitv.h @@ -5,7 +5,7 @@ // V unit class CUnitV -: public CUnit<'V'> +: public CUnit { public: CUnitV();