-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pw_metric: Make constructors constexpr
This CL makes the following constructors constexpr: - pw::metric::Group(Token) - pw::metric::Metric(Token, float) - pw::metric::Metric(Token, uint32_t) - pw::metric::TypedMetric<float>(Token, float) - pw::metric::TypedMetric<uint32_t>(Token, uint32_t) Change-Id: I601d76cda0f5a03747df8282337da7afa94fe3db Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/172379 Reviewed-by: Keir Mierle <keir@google.com> Commit-Queue: Aaron Green <aarongreen@google.com>
- Loading branch information
1 parent
5715233
commit 3cfe5d0
Showing
2 changed files
with
5 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters