Skip to content
Snippets Groups Projects
Commit 4a5e28af authored by Richard Berger's avatar Richard Berger
Browse files

Avoid unnecessary sorting in print_columns

std::map is a sorted associative container. We don't need to
first copy it into a vector and sort that one.
print_columns has been refactored as a template function and
makes use of this property.
parent 5edff5d9
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment