diff options
Diffstat (limited to 'src/arch/generic')
-rw-r--r-- | src/arch/generic/debugfaults.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/generic/debugfaults.hh b/src/arch/generic/debugfaults.hh index 2a10ced92..c42f87c25 100644 --- a/src/arch/generic/debugfaults.hh +++ b/src/arch/generic/debugfaults.hh @@ -108,12 +108,12 @@ class M5DebugFault : public FaultBase } }; -template <int func> +template <int Func> class M5VarArgsFault : public M5DebugFault { public: M5VarArgsFault(const std::string &format, CPRINTF_DECLARATION) : - M5DebugFault((DebugFunc)func, csprintf(format, VARARGS_ALLARGS)) + M5DebugFault((DebugFunc)Func, csprintf(format, VARARGS_ALLARGS)) {} }; |