Skip to content

Conversation

@greg7mdp
Copy link
Contributor

Resolves #1366.

@greg7mdp greg7mdp requested review from heifner and spoonincode April 14, 2025 14:11
Copy link
Contributor

@spoonincode spoonincode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also found this std::vector<fc::variant>

vars[0] = fc::variant(t.first);
vars[1] = fc::variant(t.second);
v = vars;
v = std::move(vars);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since we're touching the line might as well fix the whitespace

@greg7mdp greg7mdp merged commit 6c60e7c into main Apr 14, 2025
36 checks passed
@greg7mdp greg7mdp deleted the gh_1366 branch April 14, 2025 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

perf: some to_variant functions make an unnecessary vector copy.

3 participants