HomePhabricator

eina_cxx: Fix eina::value copy constructor.

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

Description

eina_cxx: Fix eina::value copy constructor.

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.

Reviewers: vitor.sousa

Reviewed By: vitor.sousa

Subscribers: cedric, reviewers, committers

Tags: efl

Differential Revision: https://phab.enlightenment.org/D7166

Details

Committed
vitor.sousaOct 16 2018, 2:47 PM
Reviewer
vitor.sousa
Differential Revision
D7166: eina_cxx: Fix eina::value copy constructor.
Parents
rEFLe6fc1ded6edf: interface gfx_path: fix incorrect doc content.
Branches
Unknown
Tags
Unknown