First steps toward getting full system to work with
[gem5.git] / sim / param.cc
index ff023ce85f03985ccacf584ff922d490f4b554c4..8998d7d7722530bf3a308a3c182d8d3ea09b8add 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2002-2004 The Regents of The University of Michigan
+ * Copyright (c) 2002-2005 The Regents of The University of Michigan
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -28,7 +28,6 @@
 
 #include <algorithm>
 #include <cassert>
-#include <cstdio>
 #include <list>
 #include <string>
 #include <vector>
@@ -303,8 +302,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