Gabe Black has uploaded this change for review. ( 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
---
M src/sim/aux_vector.hh
1 file changed, 2 insertions(+), 2 deletions(-)



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: 1
Gerrit-Owner: Gabe Black <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
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