mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-02 08:25:40 +02:00
Retain attributes in alphabetical order, for consistency
This commit is contained in:
+2
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user