summaryrefslogtreecommitdiff
path: root/src/cpu/o3/lsq_unit_impl.hh
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2014-09-20 17:17:49 -0400
committerAndreas Hansson <andreas.hansson@arm.com>2014-09-20 17:17:49 -0400
commit0fa128bbd0a53a3428fa2028b8754e15c9ef7c38 (patch)
tree30e2598a67f540e97cdbaf1cf7f5092b974d9d3c /src/cpu/o3/lsq_unit_impl.hh
parentb2c2e67468bba6dbbbfb6856ca94fdcfa1492258 (diff)
downloadgem5-0fa128bbd0a53a3428fa2028b8754e15c9ef7c38.tar.xz
base: Clean up redundant string functions and use C++11
This patch does a bit of housekeeping on the string helper functions and relies on the C++11 standard library where possible. It also does away with our custom string hash as an implementation is already part of the standard library.
Diffstat (limited to 'src/cpu/o3/lsq_unit_impl.hh')
-rw-r--r--src/cpu/o3/lsq_unit_impl.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/o3/lsq_unit_impl.hh b/src/cpu/o3/lsq_unit_impl.hh
index b63a590fb..0be4f57c4 100644
--- a/src/cpu/o3/lsq_unit_impl.hh
+++ b/src/cpu/o3/lsq_unit_impl.hh
@@ -215,7 +215,7 @@ LSQUnit<Impl>::name() const
if (Impl::MaxThreads == 1) {
return iewStage->name() + ".lsq";
} else {
- return iewStage->name() + ".lsq.thread" + to_string(lsqID);
+ return iewStage->name() + ".lsq.thread" + std::to_string(lsqID);
}
}