Add explicit defaulted copy ctor to Values
#1176
Reference in New Issue
Block a user
No description provided.
Delete Branch "export-D41447490"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary:
Values
is a wrapper to story an array of YGValue's as CompactValues.From https://github.com/facebook/yoga/issues/1174 we see a warning
Wdeprecated-copy
beacuse a user-defined copy constructor is not present, but a user-defined asignment operator is (the defaulted one). This adds an explicitly defaulted copy contructor which should silence the warning I think.Changelog:
[Internal]
Differential Revision: D41447490
This pull request was exported from Phabricator. Differential Revision: D41447490
Pull request closed