You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Value& Value::append(Value&& value) { return (*this)[size()] = value; }
should become Value& Value::append(Value&& value) { return (*this)[size()] = std::move(value); }
in order to call the move constructor.
The text was updated successfully, but these errors were encountered:
Value& Value::append(Value&& value) { return (*this)[size()] = value; }
should become
Value& Value::append(Value&& value) { return (*this)[size()] = std::move(value); }
in order to call the move constructor.
The text was updated successfully, but these errors were encountered: