From: Steve Reinhardt Date: Sat, 3 Sep 2005 01:30:02 +0000 (-0400) Subject: Fixes to build with gcc 4.0. X-Git-Tag: m5_1.1~27 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9196fbfe5e2246a4f9086a8692a0569d25fd84d9;p=gem5.git Fixes to build with gcc 4.0. sim/param.hh: Add "template<>" to explicit template specialization. --HG-- extra : convert_revision : 05e2f4ad8141a8782fe09a0b6824baf56c9fc957 --- diff --git a/sim/param.hh b/sim/param.hh index 93e169778..4a1b8bda1 100644 --- a/sim/param.hh +++ b/sim/param.hh @@ -762,12 +762,14 @@ class SimObjectVectorParam : public SimObjectBaseParam // automatically invoked by REGISTER_SIM_OBJECT() (see sim_object.hh). // #define DEFINE_SIM_OBJECT_CLASS_NAME(CLASS_NAME, OBJ_CLASS) \ +template<> \ void \ SimObjectParam::showType(std::ostream &os) const \ { \ os << CLASS_NAME; \ } \ \ +template<> \ void \ SimObjectVectorParam::showType(std::ostream &os) const \ { \