From c8e3708d8993d091a8fdec9f001bafc1c80c0fbe Mon Sep 17 00:00:00 2001 From: "Daniel R. Carvalho" Date: Sat, 14 Jan 2023 10:11:21 -0300 Subject: [PATCH] sim: Remove the Enums namespace This namespace has gone through the deprecation period and can now be removed. Change-Id: If4daad57a421b076ae6661812c2255c7f06f30b9 Signed-off-by: Daniel R. Carvalho Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/67372 Reviewed-by: Richard Cooper Maintainer: Jason Lowe-Power Tested-by: kokoro --- build_tools/enum_cc.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/build_tools/enum_cc.py b/build_tools/enum_cc.py index cd192c56fb..5d82b401b2 100644 --- a/build_tools/enum_cc.py +++ b/build_tools/enum_cc.py @@ -97,8 +97,7 @@ const char *${name}Strings[static_cast(${name}::Num_${name})] = ) else: code( - """GEM5_DEPRECATED_NAMESPACE(Enums, enums); -namespace enums + """namespace enums {""" ) code.indent(1)