From af12f52b0f5a732aeb28a3c24e3e364c84d392f4 Mon Sep 17 00:00:00 2001 From: t-horikawa Date: Mon, 20 May 2024 14:30:07 +0900 Subject: [PATCH] update docs/internal/dbstats-design_ja.md --- docs/internal/dbstats-design_ja.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/internal/dbstats-design_ja.md b/docs/internal/dbstats-design_ja.md index 4571f5b6..110d2bc6 100644 --- a/docs/internal/dbstats-design_ja.md +++ b/docs/internal/dbstats-design_ja.md @@ -175,7 +175,7 @@ public: * @brief returns a new aggregator of this aggregation. * @returns the aggregation operation type */ - std::unique_ptr create_aggregator() const noexcept; + virtual std::unique_ptr create_aggregator() const noexcept = 0; }; ``` @@ -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 aggregation); /** * @brief removes the previously registered metrics item or aggregation.