diff options
Diffstat (limited to 'sim/param.cc')
-rw-r--r-- | sim/param.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/param.cc b/sim/param.cc index 396fde3ac..bc81881d3 100644 --- a/sim/param.cc +++ b/sim/param.cc @@ -303,8 +303,8 @@ template void Param<type>::parse(const string &); \ template void VectorParam<type>::parse(const string &); \ template void Param<type>::showValue(ostream &) const; \ template void VectorParam<type>::showValue(ostream &) const; \ -void Param<type>::showType(ostream &os) const { os << typestr; } \ -void VectorParam<type>::showType(ostream &os) const { \ +template <> void Param<type>::showType(ostream &os) const { os << typestr; } \ +template <> void VectorParam<type>::showType(ostream &os) const { \ os << "vector of " << typestr; \ } #endif |