From 6c018d2e566509504e3bd5b3edde67036e4f005d Mon Sep 17 00:00:00 2001 From: Jerry Zhao Date: Tue, 7 Mar 2023 12:49:10 -0800 Subject: [PATCH] fesvr: target_args() should return a const --- fesvr/htif.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fesvr/htif.h b/fesvr/htif.h index 32cd07d0..8dc8dd96 100644 --- a/fesvr/htif.h +++ b/fesvr/htif.h @@ -63,7 +63,7 @@ class htif_t : public chunked_memif_t virtual void idle() {} const std::vector& host_args() { return hargs; } - std::vector& target_args() { return targs; } + const std::vector& target_args() { return targs; } reg_t get_entry_point() { return entry; }