diff options
author | Tom Hacohen <tom@stosb.com> | 2016-03-02 13:33:22 +0000 |
---|---|---|
committer | Tom Hacohen <tom@stosb.com> | 2016-03-02 13:36:27 +0000 |
commit | 58dca91e16fda5e4e09840c97dd9b356473c78a5 (patch) | |
tree | 219fd05577fee5919ae0861e4b4d84704ff7d125 | |
parent | 60c8da8f9503f5f32f795ff549e642b14c9d3c72 (diff) | |
download | efl-58dca91e16fda5e4e09840c97dd9b356473c78a5.tar.gz |
Eo add: The newly created object should not be a pointer to a const.
-rw-r--r-- | src/lib/eo/Eo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eo/Eo.h b/src/lib/eo/Eo.h index 4f1f82158f..7d8110dd40 100644 --- a/src/lib/eo/Eo.h +++ b/src/lib/eo/Eo.h @@ -608,7 +608,7 @@ EAPI const Eo_Class *eo_class_get(const Eo *obj); #define _eo_add_common(klass, parent, is_ref, ...) \ ({ \ - const Eo *eoid = _eo_add_internal_start(__FILE__, __LINE__, klass, parent, is_ref); \ + Eo * const eoid = _eo_add_internal_start(__FILE__, __LINE__, klass, parent, is_ref); \ __VA_ARGS__; \ (Eo *) _eo_add_end(eoid); \ }) |