diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2007-07-20 18:24:46 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2007-07-20 18:24:46 -0700 |
commit | 8dd93f32e42f3823837b705ef0a405c55a95c2ad (patch) | |
tree | 7e32de1282afe9b20528a4f8d32746cc5bb15499 /src/arch | |
parent | 9093cb79a1a96867cae677f529a0d4bb19b288af (diff) | |
download | gem5-8dd93f32e42f3823837b705ef0a405c55a95c2ad.tar.xz |
Make the "name" function const.
--HG--
extra : convert_revision : eb71bc3edd92a544a5333786635fce550aaef233
Diffstat (limited to 'src/arch')
-rw-r--r-- | src/arch/x86/faults.hh | 4 |
1 files changed, 2 insertions, 2 deletions
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"; } |