Mono: Fix compiler error with Variant::operator AABB()

This commit is contained in:
Ignacio Etcheverry 2017-11-18 18:13:57 +01:00
parent 63283eca55
commit b51b3dc030
2 changed files with 2 additions and 2 deletions

View file

@ -41,7 +41,7 @@ void GDMonoField::set_value_raw(MonoObject *p_object, void *p_ptr) {
void GDMonoField::set_value(MonoObject *p_object, const Variant &p_value) {
#define SET_FROM_STRUCT_AND_BREAK(m_type) \
{ \
const m_type &val = p_value.operator m_type(); \
const m_type &val = p_value.operator ::m_type(); \
MARSHALLED_OUT(m_type, val, raw); \
mono_field_set_value(p_object, mono_field, raw); \
break; \