From 8f511653940cb2b9edd9a18ec30a51422b34a573 Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Thu, 22 Sep 2022 14:57:42 -0700 Subject: Fix remaining ignored-qualifiers warning --- riscv/csrs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'riscv/csrs.h') diff --git a/riscv/csrs.h b/riscv/csrs.h index 5dc6da3..1cc2d74 100644 --- a/riscv/csrs.h +++ b/riscv/csrs.h @@ -326,7 +326,7 @@ class misa_csr_t final: public basic_csr_t { private: const reg_t max_isa; const reg_t write_mask; - const reg_t dependency(const reg_t val, const char feature, const char depends_on) const noexcept; + reg_t dependency(const reg_t val, const char feature, const char depends_on) const noexcept; }; typedef std::shared_ptr misa_csr_t_p; -- cgit v1.1