definition of implicit copy constructor for 'Values<9>' is deprecated because it has a user-declared copy assignment operator #1174
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
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?
Report
Issues and Steps to Reproduce
Xcode14.1

In file included from Carthage/Checkouts/yoga/yoga/Utils.h:9:
In file included from Carthage/Checkouts/yoga/yoga/YGNode.h:13:
In file included from Carthage/Checkouts/yoga/yoga/YGConfig.h:9:
Carthage/Checkouts/yoga/yoga/Yoga-internal.h:135:11: error: definition of implicit copy constructor for 'Values<9>' is deprecated because it has a user-declared copy assignment operator [-Werror,-Wdeprecated-copy]
Values& operator=(const Values& ot
Expected Behavior
build success
Actual Behavior
run WildeGuess
It seems like the explicit copy ctor isn't needed here since all it is doing is copying the underlying array anyway.Misread this I think we just need to add a default copy ctor.is it fixed ?
I stil get error when build from tutorial: https://componentkit.org/docs/getting-started/