From 9196fbfe5e2246a4f9086a8692a0569d25fd84d9 Mon Sep 17 00:00:00 2001 From: Steve Reinhardt Date: Fri, 2 Sep 2005 21:30:02 -0400 Subject: [PATCH] Fixes to build with gcc 4.0. sim/param.hh: Add "template<>" to explicit template specialization. --HG-- extra : convert_revision : 05e2f4ad8141a8782fe09a0b6824baf56c9fc957 --- sim/param.hh | 2 ++ 1 file changed, 2 insertions(+) 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 \ { \ -- 2.30.2