Skip to content

Commit

Permalink
docs(core): add Doxygen comments to new functions
Browse files Browse the repository at this point in the history
  • Loading branch information
gjasny committed Apr 3, 2022
1 parent 9859f09 commit c3a8d07
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions core/include/prometheus/histogram.h
Expand Up @@ -46,6 +46,7 @@ class PROMETHEUS_CPP_CORE_EXPORT Histogram {
/// The bucket boundaries cannot be changed once the histogram is created.
explicit Histogram(const BucketBoundaries& buckets);

/// \copydoc Histogram::Histogram(const BucketBoundaries&)
explicit Histogram(BucketBoundaries&& buckets);

/// \brief Observe the given amount.
Expand Down
1 change: 1 addition & 0 deletions core/include/prometheus/summary.h
Expand Up @@ -75,6 +75,7 @@ class PROMETHEUS_CPP_CORE_EXPORT Summary {
std::chrono::milliseconds max_age = std::chrono::seconds{60},
int age_buckets = 5);

/// \copydoc Summary::Summary(const Quantiles&,std::chrono::milliseconds,int)
explicit Summary(Quantiles&& quantiles,
std::chrono::milliseconds max_age = std::chrono::seconds{60},
int age_buckets = 5);
Expand Down

0 comments on commit c3a8d07

Please sign in to comment.