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
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 7824
Build 7332: arc lint + arc unit
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.