Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Actor Framework
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
Actor Framework
Commits
f8341c8b
Unverified
Commit
f8341c8b
authored
Sep 25, 2020
by
Dominik Charousset
Committed by
GitHub
Sep 25, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1142
Fix warnings with clang-10
parents
9826298b
44b091cc
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
8 deletions
+4
-8
libcaf_core/caf/telemetry/metric_registry.hpp
libcaf_core/caf/telemetry/metric_registry.hpp
+2
-2
libcaf_core/caf/unit.hpp
libcaf_core/caf/unit.hpp
+2
-6
No files found.
libcaf_core/caf/telemetry/metric_registry.hpp
View file @
f8341c8b
...
@@ -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
_name
s 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
...
...
libcaf_core/caf/unit.hpp
View file @
f8341c8b
...
@@ -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
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment