diff options
author | Steve Reinhardt <stever@eecs.umich.edu> | 2005-09-02 21:30:02 -0400 |
---|---|---|
committer | Steve Reinhardt <stever@eecs.umich.edu> | 2005-09-02 21:30:02 -0400 |
commit | 9196fbfe5e2246a4f9086a8692a0569d25fd84d9 (patch) | |
tree | c7f3eba2549b1741a095ea68159d05abbf800610 | |
parent | 1b77c1e24bfcb747c9fc3edd99df84874e72f1e1 (diff) | |
download | gem5-9196fbfe5e2246a4f9086a8692a0569d25fd84d9.tar.xz |
Fixes to build with gcc 4.0.
sim/param.hh:
Add "template<>" to explicit template specialization.
--HG--
extra : convert_revision : 05e2f4ad8141a8782fe09a0b6824baf56c9fc957
-rw-r--r-- | sim/param.hh | 2 |
1 files changed, 2 insertions, 0 deletions
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<T *> : 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<OBJ_CLASS *>::showType(std::ostream &os) const \ { \ os << CLASS_NAME; \ } \ \ +template<> \ void \ SimObjectVectorParam<OBJ_CLASS *>::showType(std::ostream &os) const \ { \ |