Merge zizzer:/bk/multiarch
[gem5.git] / sim / param.hh
index f4b9d3450a7b2ad39aff74d0cbc1d390f98976e9..4a1b8bda1185af69b0d3149a61904d3476575056 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2002-2003 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
@@ -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    \
 {                                                                      \