diff --git a/include/cubescript/cubescript.hh b/include/cubescript/cubescript.hh index ed43f05..7fbcc62 100644 --- a/include/cubescript/cubescript.hh +++ b/include/cubescript/cubescript.hh @@ -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; }