diff options
author | Steve Reinhardt <stever@eecs.umich.edu> | 2004-02-02 15:55:35 -0800 |
---|---|---|
committer | Steve Reinhardt <stever@eecs.umich.edu> | 2004-02-02 15:55:35 -0800 |
commit | 548b4a1cb045c6675692e8ed7c6375ebb808c803 (patch) | |
tree | c7a28b92dddb711c6bb2ed2c7a11ea2d387277a3 /sim/serialize.cc | |
parent | 956aff1291990639f8a59a95c6b22e0c17bb8cd8 (diff) | |
download | gem5-548b4a1cb045c6675692e8ed7c6375ebb808c803.tar.xz |
Change "Foo& foo" declarations to "Foo &foo".
This primarily to be internally consistent (sometimes we used one,
sometimes the other, even within the same line of code!).
I picked the latter to be symmetric with "Foo *foo".
base/cprintf_formats.hh:
base/range.hh:
base/refcnt.hh:
base/res_list.hh:
base/statistics.hh:
base/str.hh:
cpu/exec_context.hh:
cpu/simple_cpu/simple_cpu.cc:
cpu/simple_cpu/simple_cpu.hh:
sim/serialize.cc:
sim/serialize.hh:
sim/syscall_emul.hh:
Change "Foo& foo" declarations to "Foo &foo".
--HG--
extra : convert_revision : ca1b0e85a578b539214bda3b8d61ac23792f2e87
Diffstat (limited to 'sim/serialize.cc')
-rw-r--r-- | sim/serialize.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/serialize.cc b/sim/serialize.cc index 281e7cfc8..180cc38a0 100644 --- a/sim/serialize.cc +++ b/sim/serialize.cc @@ -62,7 +62,7 @@ Serializable::nameOut(ostream &os, const string &_name) template <class T> void -paramOut(ostream &os, const std::string &name, const T& param) +paramOut(ostream &os, const std::string &name, const T ¶m) { os << name << "="; showParam(os, param); @@ -73,7 +73,7 @@ paramOut(ostream &os, const std::string &name, const T& param) template <class T> void paramIn(Checkpoint *cp, const std::string §ion, - const std::string &name, T& param) + const std::string &name, T ¶m) { std::string str; if (!cp->find(section, name, str) || !parseParam(str, param)) { |