| Index: Source/bindings/templates/union.h
|
| diff --git a/Source/bindings/templates/union.h b/Source/bindings/templates/union.h
|
| index 8db42b44440da1776484f0ab3943b7d77f82b09d..5cb527951b64f2bd57521e9ba4f9a7b47b41dc2e 100644
|
| --- a/Source/bindings/templates/union.h
|
| +++ b/Source/bindings/templates/union.h
|
| @@ -26,7 +26,7 @@ public:
|
|
|
| {% for member in container.members %}
|
| bool is{{member.type_name}}() const { return m_type == {{member.specific_type_enum}}; }
|
| - {{member.rvalue_cpp_type}} getAs{{member.type_name}}();
|
| + {{member.rvalue_cpp_type}} getAs{{member.type_name}}() const;
|
| void set{{member.type_name}}({{member.rvalue_cpp_type}});
|
|
|
| {% endfor %}
|
|
|