summaryrefslogtreecommitdiff
path: root/sim/param.cc
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@eecs.umich.edu>2003-10-29 21:50:28 -0800
committerSteve Reinhardt <stever@eecs.umich.edu>2003-10-29 21:50:28 -0800
commit9a88c8e17dd562ab390635accc1d3d2073ab6c52 (patch)
tree485cf97066569297b2a7c84dc1fd5c693800d5ec /sim/param.cc
parenta9844046914e887d3f2aed63ec5f098cfb526142 (diff)
parent5a1eb9049d16d37448282362529d462d73558181 (diff)
downloadgem5-9a88c8e17dd562ab390635accc1d3d2073ab6c52.tar.xz
Merge.
--HG-- extra : convert_revision : 1552730090e0904fbc4e4c8f515b306355cb66f3
Diffstat (limited to 'sim/param.cc')
-rw-r--r--sim/param.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/param.cc b/sim/param.cc
index 5f3f604c1..7affe4786 100644
--- a/sim/param.cc
+++ b/sim/param.cc
@@ -97,7 +97,7 @@ parseParam(const string &s, T &value)
template <class T>
void
-showParam(ostream &os, const T &value)
+showParam(ostream &os, T const &value)
{
os << value;
}
@@ -277,7 +277,7 @@ template VectorParam<type>;
// types that can use the above templates
#define INSTANTIATE_PARAM_TEMPLATES(type, typestr) \
template bool parseParam<type>(const string &s, type &value); \
-template void showParam<type>(ostream &os, const type &value); \
+template void showParam<type>(ostream &os, type const &value); \
template void Param<type>::parse(const string &); \
template void VectorParam<type>::parse(const string &); \
template void Param<type>::showValue(ostream &) const; \