Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Maintenance - Mise à jour mensuelle Lundi 6 Février entre 7h00 et 9h00
Open sidebar
Gauthier Quesnel
irritator
Commits
972d212c
Commit
972d212c
authored
Sep 11, 2020
by
Gauthier Quesnel
Browse files
core: improve dispatch message algorithm
parent
ee0a470f
Pipeline
#17774
passed with stage
in 1 minute and 8 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
lib/include/irritator/core.hpp
View file @
972d212c
...
...
@@ -6467,10 +6467,10 @@ public:
for
(
const
output_port_id
src
:
emitting_output_ports
)
{
if
(
auto
*
port_src
=
output_ports
.
try_to_get
(
src
);
port_src
)
{
for
(
const
message
&
msg
:
port_src
->
message
s
)
{
for
(
const
input_
port_
id
dst
:
port_src
->
connections
)
{
if
(
auto
*
port_dst
=
input_ports
.
try_to_get
(
dst
);
port_dst
)
{
for
(
const
input_port_id
dst
:
port_src
->
connection
s
)
{
if
(
auto
*
port_dst
=
input_ports
.
try_to_get
(
dst
);
port_dst
)
{
for
(
const
message
&
msg
:
port_src
->
messages
)
{
port_dst
->
messages
.
emplace_front
(
msg
);
if
(
auto
*
mdl
=
models
.
try_to_get
(
port_dst
->
model
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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