Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
actor-incubator
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
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-incubator
Commits
38b1ec09
Commit
38b1ec09
authored
Aug 29, 2019
by
Jakob Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bugfixes
parent
0ab2bf0b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
libcaf_net/caf/net/transport_worker_dispatcher.hpp
libcaf_net/caf/net/transport_worker_dispatcher.hpp
+4
-4
No files found.
libcaf_net/caf/net/transport_worker_dispatcher.hpp
View file @
38b1ec09
...
...
@@ -94,7 +94,7 @@ public:
add_new_worker
(
nid
,
id_type
{});
it
=
workers_by_node_
.
find
(
nid
);
}
auto
worker
=
*
it
->
second
;
auto
worker
=
it
->
second
;
// parent should be a decorator with parent and parent->parent.
worker
->
write_message
(
parent
,
std
::
move
(
msg
));
}
...
...
@@ -135,9 +135,9 @@ public:
void
add_new_worker
(
node_id
node
,
id_type
id
)
{
auto
application
=
factory_
.
make
();
auto
worker
=
worker_type
{
std
::
move
(
application
),
std
::
move
(
id
)}
;
workers_by_id_
.
emplace
(
id
,
worker
);
workers_by_node_
.
emplace
(
node
,
std
::
move
(
worker
));
auto
worker
=
std
::
make_shared
<
worker_type
>
(
std
::
move
(
application
),
id
)
;
workers_by_id_
.
emplace
(
std
::
move
(
id
)
,
worker
);
workers_by_node_
.
emplace
(
std
::
move
(
node
)
,
std
::
move
(
worker
));
}
private:
...
...
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