From 0fa128bbd0a53a3428fa2028b8754e15c9ef7c38 Mon Sep 17 00:00:00 2001 From: Andreas Hansson Date: Sat, 20 Sep 2014 17:17:49 -0400 Subject: 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. --- src/cpu/o3/lsq_unit_impl.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cpu/o3/lsq_unit_impl.hh') 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::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); } } -- cgit v1.2.3