Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Rongkun Wang
swrod
Commits
24a520ca
Commit
24a520ca
authored
Mar 22, 2022
by
Serguei Kolos
Browse files
Don't allow to enable E-Links when the corresponding ROB is disabled
parent
46f0a305
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Core.cpp
View file @
24a520ca
...
@@ -425,6 +425,10 @@ void Core::ROB::enable(uint32_t lastL1ID) {
...
@@ -425,6 +425,10 @@ void Core::ROB::enable(uint32_t lastL1ID) {
}
}
void
Core
::
ROB
::
enableLinks
(
std
::
vector
<
InputLinkId
>
&
links
,
uint32_t
lastL1ID
)
{
void
Core
::
ROB
::
enableLinks
(
std
::
vector
<
InputLinkId
>
&
links
,
uint32_t
lastL1ID
)
{
if
(
not
m_enabled
)
{
return
;
}
std
::
vector
<
InputLinkId
>
original_set
(
links
);
std
::
vector
<
InputLinkId
>
original_set
(
links
);
m_builder
->
enableLinks
(
links
,
lastL1ID
,
0
);
m_builder
->
enableLinks
(
links
,
lastL1ID
,
0
);
for
(
auto
l
:
original_set
)
{
for
(
auto
l
:
original_set
)
{
...
...
Write
Preview
Supports
Markdown
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