Add explicit defaulted copy ctor to Values #1176

Closed
NickGerleman wants to merge 1 commits from export-D41447490 into main

View File

@@ -110,6 +110,8 @@ private:
public: public:
Values() = default; Values() = default;
Values(const Values& other) = default;
explicit Values(const YGValue& defaultValue) noexcept { explicit Values(const YGValue& defaultValue) noexcept {
values_.fill(defaultValue); values_.fill(defaultValue);
} }