Skip to content

Commit 76f1e34

Browse files
committed
Better naming
1 parent 4791497 commit 76f1e34

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cpp/arcticdb/util/query_stats.hpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,10 @@ enum class StatsName : size_t {
8585
count = 2
8686
};
8787

88+
using GroupSubMap = std::map<std::string, std::shared_ptr<StatsGroupLayer>>;
8889
struct StatsGroupLayer {
8990
std::array<int64_t, 3> stats_ = {0}; // sizeof(StatsName)
90-
std::array<std::map<std::string, std::shared_ptr<StatsGroupLayer>>, 3> next_layer_maps_; // sizeof(StatsGroupName)
91+
std::array<GroupSubMap, 3> next_layer_maps_; // sizeof(StatsGroupName)
9192
void reset_stats();
9293
void merge_from(const StatsGroupLayer& other);
9394
};

0 commit comments

Comments
 (0)