diff --git a/src/sim/aux_vector.hh b/src/sim/aux_vector.hh index 7ab5e1040a..0a14effde9 100644 --- a/src/sim/aux_vector.hh +++ b/src/sim/aux_vector.hh @@ -131,8 +131,8 @@ enum AuxiliaryVectorType #undef GEM5_DEPRECATE_AT template -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; } // namespace gem5