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
7081bef0
Unverified
Commit
7081bef0
authored
Aug 04, 2023
by
Dominik Charousset
Committed by
GitHub
Aug 04, 2023
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1512
Some clang tidy fixes
parents
b618678f
bce338ea
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
.clang-tidy
.clang-tidy
+1
-1
libcaf_core/caf/config_value.hpp
libcaf_core/caf/config_value.hpp
+1
-1
libcaf_core/caf/flow/op/concat.hpp
libcaf_core/caf/flow/op/concat.hpp
+1
-1
libcaf_core/caf/policy/select_all.hpp
libcaf_core/caf/policy/select_all.hpp
+1
-1
No files found.
.clang-tidy
View file @
7081bef0
---
Checks: '-*,bugprone-*'
Checks: '-*,bugprone-*
,-bugprone-easily-swappable-parameters,-bugprone-macro-parentheses
'
WarningsAsErrors: ''
HeaderFilterRegex: '/caf/'
AnalyzeTemporaryDtors: false
...
...
libcaf_core/caf/config_value.hpp
View file @
7081bef0
...
...
@@ -628,7 +628,7 @@ struct variant_inspector_traits<config_value> {
template
<
class
U
>
static
void
assign
(
value_type
&
x
,
U
&&
value
)
{
x
=
std
::
move
(
value
);
x
=
std
::
forward
<
U
>
(
value
);
}
template
<
class
F
>
...
...
libcaf_core/caf/flow/op/concat.hpp
View file @
7081bef0
...
...
@@ -232,7 +232,7 @@ private:
void
add
(
Input
&&
x
)
{
using
input_t
=
std
::
decay_t
<
Input
>
;
static_assert
(
is_observable_v
<
input_t
>
);
inputs_
.
emplace_back
(
std
::
move
(
x
).
as_observable
());
inputs_
.
emplace_back
(
std
::
forward
<
Input
>
(
x
).
as_observable
());
}
std
::
vector
<
input_type
>
inputs_
;
...
...
libcaf_core/caf/policy/select_all.hpp
View file @
7081bef0
...
...
@@ -201,7 +201,7 @@ private:
behavior
make_behavior
(
F
&&
f
,
OnError
&&
g
)
{
using
namespace
detail
;
using
helper_type
=
select_all_helper_t
<
decay_t
<
F
>>
;
helper_type
helper
{
ids_
.
size
(),
pending_timeouts_
,
std
::
move
(
f
)};
helper_type
helper
{
ids_
.
size
(),
pending_timeouts_
,
std
::
forward
<
F
>
(
f
)};
auto
pending
=
helper
.
pending
;
auto
error_handler
=
[
pending
{
std
::
move
(
pending
)},
timeouts
{
pending_timeouts_
},
...
...
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