return alias value by value

master
Daniel Kolesa 2021-03-17 00:32:25 +01:00
parent 9a1b47196a
commit 8c77724f88
1 changed files with 1 additions and 5 deletions

View File

@ -301,11 +301,7 @@ struct OSTD_EXPORT cs_alias: cs_ident {
friend struct cs_shared_state;
friend struct cs_alias_internal;
cs_value const &get_value() const {
return p_val;
}
cs_value &get_value() {
cs_value get_value() const {
return p_val;
}