Retain attributes in alphabetical order, for consistency

This commit is contained in:
Eric Fischer
2017-07-19 16:40:06 -07:00
parent 3cafef89f1
commit 97d0b2a1b5
17 changed files with 42 additions and 25 deletions
+2 -1
View File
@@ -10,10 +10,11 @@ struct type_and_string {
std::string string;
bool operator<(const type_and_string &o) const;
bool operator!=(const type_and_string &o) const;
};
struct type_and_string_stats {
std::set<type_and_string> sample_values;
std::vector<type_and_string> sample_values; // sorted
double min = INFINITY;
double max = -INFINITY;
int type = 0;