Skip to content

Commit

Permalink
update docs/internal/dbstats-design_ja.md
Browse files Browse the repository at this point in the history
  • Loading branch information
t-horikawa committed May 20, 2024
1 parent cb50e13 commit af12f52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/internal/dbstats-design_ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ public:
* @brief returns a new aggregator of this aggregation.
* @returns the aggregation operation type
*/
std::unique_ptr<metrics_aggregator> create_aggregator() const noexcept;
virtual std::unique_ptr<metrics_aggregator> create_aggregator() const noexcept = 0;
};
```

Expand Down Expand Up @@ -258,7 +258,7 @@ public:
* @param aggregation aggregation specification to register
* @throws std::runtime_error if another aggregation with the same key is already in this store
*/
void register_aggregation(metrics_aggregation aggregation);
void register_aggregation(std::unique_ptr<metrics_aggregation> aggregation);

/**
* @brief removes the previously registered metrics item or aggregation.
Expand Down

0 comments on commit af12f52

Please sign in to comment.