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
c2547620
Commit
c2547620
authored
Jun 30, 2017
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix bug in actor_config's to_string
parent
629b72f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
libcaf_core/src/actor_config.cpp
libcaf_core/src/actor_config.cpp
+2
-4
No files found.
libcaf_core/src/actor_config.cpp
View file @
c2547620
...
@@ -31,11 +31,9 @@ actor_config::actor_config(execution_unit* ptr)
...
@@ -31,11 +31,9 @@ actor_config::actor_config(execution_unit* ptr)
}
}
std
::
string
to_string
(
const
actor_config
&
x
)
{
std
::
string
to_string
(
const
actor_config
&
x
)
{
// Note: x.groups is an input range. Traversing it is emptying it, hence we
// cannot look inside the range here.
std
::
string
result
=
"actor_config("
;
std
::
string
result
=
"actor_config("
;
if
(
x
.
groups
==
nullptr
)
result
+=
"[]"
;
else
result
+=
deep_to_string
(
*
x
.
groups
);
auto
add
=
[
&
](
int
flag
,
const
char
*
name
)
{
auto
add
=
[
&
](
int
flag
,
const
char
*
name
)
{
if
((
x
.
flags
&
flag
)
!=
0
)
{
if
((
x
.
flags
&
flag
)
!=
0
)
{
result
+=
", "
;
result
+=
", "
;
...
...
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