Unverified Commit f8341c8b authored by Dominik Charousset's avatar Dominik Charousset Committed by GitHub

Merge pull request #1142

Fix warnings with clang-10
parents 9826298b 44b091cc
...@@ -407,8 +407,8 @@ public: ...@@ -407,8 +407,8 @@ public:
/// as well as prefixes starting with an underscore are /// as well as prefixes starting with an underscore are
/// reserved. /// reserved.
/// @param name The human-readable name of the metric, e.g., `requests`. /// @param name The human-readable name of the metric, e.g., `requests`.
/// @param label_names Names for all label dimensions of the metric. /// @param labels Names for all label dimensions of the metric.
/// @param default_upper_bounds Upper bounds for the metric buckets. /// @param upper_bounds Upper bounds for the metric buckets.
/// @param helptext Short explanation of the metric. /// @param helptext Short explanation of the metric.
/// @param unit Unit of measurement. Please use base units such as `bytes` or /// @param unit Unit of measurement. Please use base units such as `bytes` or
/// `seconds` (prefer lowercase). The pseudo-unit `1` identifies /// `seconds` (prefer lowercase). The pseudo-unit `1` identifies
......
...@@ -28,13 +28,9 @@ namespace caf { ...@@ -28,13 +28,9 @@ namespace caf {
/// to enable higher-order abstraction without cluttering code with /// to enable higher-order abstraction without cluttering code with
/// exceptions for `void` (which can't be stored, for example). /// exceptions for `void` (which can't be stored, for example).
struct unit_t : detail::comparable<unit_t> { struct unit_t : detail::comparable<unit_t> {
constexpr unit_t() noexcept { constexpr unit_t() noexcept = default;
// nop
}
constexpr unit_t(const unit_t&) noexcept { constexpr unit_t(const unit_t&) noexcept = default;
// nop
}
template <class T> template <class T>
explicit constexpr unit_t(T&&) noexcept { explicit constexpr unit_t(T&&) noexcept {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment