diff options
author | Jerry Zhao <jerryz123@berkeley.edu> | 2023-03-07 12:49:10 -0800 |
---|---|---|
committer | Jerry Zhao <jerryz123@berkeley.edu> | 2023-03-07 12:49:10 -0800 |
commit | 6c018d2e566509504e3bd5b3edde67036e4f005d (patch) | |
tree | 81c6a58351d27265e5847b4b62d7092f52347f26 /fesvr/htif.h | |
parent | cd0a5dc55090ca8c4be4c7fb2a7937629c0eccb9 (diff) | |
download | riscv-isa-sim-6c018d2e566509504e3bd5b3edde67036e4f005d.zip riscv-isa-sim-6c018d2e566509504e3bd5b3edde67036e4f005d.tar.gz riscv-isa-sim-6c018d2e566509504e3bd5b3edde67036e4f005d.tar.bz2 |
fesvr: target_args() should return a const
Diffstat (limited to 'fesvr/htif.h')
-rw-r--r-- | fesvr/htif.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fesvr/htif.h b/fesvr/htif.h index 32cd07d..8dc8dd9 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<std::string>& host_args() { return hargs; } - std::vector<std::string>& target_args() { return targs; } + const std::vector<std::string>& target_args() { return targs; } reg_t get_entry_point() { return entry; } |