Skip to content

Commit

Permalink
Yeah why did I think emplace_back would work
Browse files Browse the repository at this point in the history
  • Loading branch information
Znurre committed Aug 11, 2024
1 parent 0785546 commit 290d2b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code-generation/types/structure_type.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ namespace fluenc::code_generation::types

for (auto& field : subject_->fields)
{
results.emplace_back(field.name, type_for(field.type, type_resolver));
results.push_back({ field.name, type_for(field.type, type_resolver) });
}

return results;
Expand Down

0 comments on commit 290d2b3

Please sign in to comment.