From 2111c9960078e0d61bc1b6a1788b0d9acc13e97b Mon Sep 17 00:00:00 2001 From: Giacomo Travaglini Date: Tue, 15 Oct 2019 14:11:17 +0100 Subject: [PATCH] base: Using scoped string in DPRINTFNR We would otherwise need to add a using namespace std wherever we use DPRINTFNR. Change-Id: I30bf9ba474408133abded66141f6dc96dfdba8d6 Signed-off-by: Giacomo Travaglini Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/21821 Reviewed-by: Jason Lowe-Power Reviewed-by: Bobby R. Bruce Maintainer: Jason Lowe-Power Tested-by: kokoro --- src/base/trace.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/trace.hh b/src/base/trace.hh index ee8737243..4af413321 100644 --- a/src/base/trace.hh +++ b/src/base/trace.hh @@ -205,7 +205,7 @@ class Named } while (0) #define DPRINTFNR(...) do { \ - Trace::getDebugLogger()->dprintf((Tick)-1, string(), __VA_ARGS__); \ + Trace::getDebugLogger()->dprintf((Tick)-1, std::string(), __VA_ARGS__); \ } while (0) #else // !TRACING_ON -- 2.30.2