Page MenuHomePhabricator

eina_cxx: Fix eina::value copy constructor.
ClosedPublic

Authored by lauromoura on Oct 16 2018, 2:29 PM.

Details

Summary

The previous declaration was causing the implicit copy constructor to be
invoked when copying a new eina::value from an existing eina::value,
thus leading to two wrappers pointing to the same underlying C pointer.

This showed some error messages when running the tests but under autotools
it didn't fail, while building with meson caused it to segfault.

Diff Detail

Repository
rEFL core/efl
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
lauromoura created this revision.Oct 16 2018, 2:29 PM
lauromoura requested review of this revision.Oct 16 2018, 2:29 PM
vitor.sousa accepted this revision.Oct 16 2018, 2:38 PM
This revision is now accepted and ready to land.Oct 16 2018, 2:38 PM
This revision was automatically updated to reflect the committed changes.