From: Gabe Black Date: Sat, 21 Jul 2007 01:24:46 +0000 (-0700) Subject: Make the "name" function const. X-Git-Tag: m5_2.0_beta4~297^2~9 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8dd93f32e42f3823837b705ef0a405c55a95c2ad;p=gem5.git Make the "name" function const. --HG-- extra : convert_revision : eb71bc3edd92a544a5333786635fce550aaef233 --- diff --git a/src/arch/x86/faults.hh b/src/arch/x86/faults.hh index 8c9afcdb5..51c34cebd 100644 --- a/src/arch/x86/faults.hh +++ b/src/arch/x86/faults.hh @@ -66,7 +66,7 @@ namespace X86ISA class X86Fault : public FaultBase { protected: - const char * name() + const char * name() const { return "generic_x86_fault"; } @@ -80,7 +80,7 @@ namespace X86ISA class UnimpInstFault : public FaultBase { public: - const char * name() + const char * name() const { return "unimplemented_micro"; }