summaryrefslogtreecommitdiff
path: root/src/base/stl_helpers.hh
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2010-06-10 23:17:07 -0700
committerNathan Binkert <nate@binkert.org>2010-06-10 23:17:07 -0700
commit3df84fd8a0ce3959c0deb4c206d910fc0d050f47 (patch)
treee9532570ee56986f92c40511f1fc83991d6691c9 /src/base/stl_helpers.hh
parent006818aeea6176c4500c5f7414e9f2a822c77062 (diff)
downloadgem5-3df84fd8a0ce3959c0deb4c206d910fc0d050f47.tar.xz
ruby: get rid of the Map class
Diffstat (limited to 'src/base/stl_helpers.hh')
-rw-r--r--src/base/stl_helpers.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/base/stl_helpers.hh b/src/base/stl_helpers.hh
index 740bd1b48..9add7b8b6 100644
--- a/src/base/stl_helpers.hh
+++ b/src/base/stl_helpers.hh
@@ -60,12 +60,13 @@ class ContainerPrint
void
operator()(const T &elem)
{
- out << elem;
// First one doesn't get a space before it. The rest do.
if (first)
first = false;
else
out << " ";
+
+ out << elem;
}
};