Gabe Black has submitted this change. ( https://gem5-review.googlesource.com/c/public/gem5/+/48507 )

Change subject: sim: Use the [[deprecated()]] attribute instead of GEM5_DEPRECATED.
......................................................................

sim: Use the [[deprecated()]] attribute instead of GEM5_DEPRECATED.

The [[deprecated()]] attribute is now standard c++, so use that
directly.

Change-Id: I246551b05484a707ac9da05dc91af34d78aae1ff
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/48507
Reviewed-by: Daniel Carvalho <[email protected]>
Maintainer: Gabe Black <[email protected]>
Tested-by: kokoro <[email protected]>
---
M src/sim/aux_vector.hh
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Daniel Carvalho: Looks good to me, approved
  Gabe Black: Looks good to me, approved
  kokoro: Regressions pass



diff --git a/src/sim/aux_vector.hh b/src/sim/aux_vector.hh
index 7ab5e10..0a14eff 100644
--- a/src/sim/aux_vector.hh
+++ b/src/sim/aux_vector.hh
@@ -131,8 +131,8 @@
 #undef GEM5_DEPRECATE_AT

 template <class IntType>
-using AuxVector GEM5_DEPRECATED(
-        "The AuxVector template is now in the gem5::auxv namespace.") =
+using AuxVector [[deprecated(
+        "The AuxVector template is now in the gem5::auxv namespace.")]] =
         gem5::auxv::AuxVector<IntType>;

 } // namespace gem5

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/48507
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I246551b05484a707ac9da05dc91af34d78aae1ff
Gerrit-Change-Number: 48507
Gerrit-PatchSet: 2
Gerrit-Owner: Gabe Black <[email protected]>
Gerrit-Reviewer: Andreas Sandberg <[email protected]>
Gerrit-Reviewer: Bobby R. Bruce <[email protected]>
Gerrit-Reviewer: Daniel Carvalho <[email protected]>
Gerrit-Reviewer: Gabe Black <[email protected]>
Gerrit-Reviewer: Gabe Black <[email protected]>
Gerrit-Reviewer: Jason Lowe-Power <[email protected]>
Gerrit-Reviewer: Nikos Nikoleris <[email protected]>
Gerrit-Reviewer: kokoro <[email protected]>
Gerrit-MessageType: merged
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to