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
578af7ad
Commit
578af7ad
authored
Apr 19, 2020
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove verbose braces
parent
ebda4f20
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
libcaf_io/src/io/basp/instance.cpp
libcaf_io/src/io/basp/instance.cpp
+3
-5
No files found.
libcaf_io/src/io/basp/instance.cpp
View file @
578af7ad
...
@@ -323,12 +323,10 @@ connection_state instance::handle(execution_unit* ctx, connection_handle hdl,
...
@@ -323,12 +323,10 @@ connection_state instance::handle(execution_unit* ctx, connection_handle hdl,
}
}
// Check the application ID.
// Check the application ID.
string_list
whitelist
;
string_list
whitelist
;
if
(
auto
lst
=
get_if
<
string_list
>
(
&
config
(),
if
(
auto
ls
=
get_if
<
string_list
>
(
&
config
(),
"middleman.app-identifiers"
))
"middleman.app-identifiers"
))
{
whitelist
=
std
::
move
(
*
ls
);
whitelist
=
std
::
move
(
*
lst
);
else
}
else
{
whitelist
.
emplace_back
(
to_string
(
defaults
::
middleman
::
app_identifier
));
whitelist
.
emplace_back
(
to_string
(
defaults
::
middleman
::
app_identifier
));
}
auto
i
=
std
::
find_first_of
(
app_ids
.
begin
(),
app_ids
.
end
(),
auto
i
=
std
::
find_first_of
(
app_ids
.
begin
(),
app_ids
.
end
(),
whitelist
.
begin
(),
whitelist
.
end
());
whitelist
.
begin
(),
whitelist
.
end
());
if
(
i
==
app_ids
.
end
())
{
if
(
i
==
app_ids
.
end
())
{
...
...
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