Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
9.2.2023: Due to updates GitLab will be unavailable for some minutes between 9:00 and 11:00.
Open sidebar
dcdb
dcdb
Commits
5c7ca5ab
Commit
5c7ca5ab
authored
Dec 04, 2019
by
Micha Müller
Browse files
Minor fix: remove obsolete calls to releaseSensors()
parent
8e877ac4
Changes
2
Hide whitespace changes
Inline
Side-by-side
dcdbpusher/includes/ConfiguratorTemplate.h
View file @
5c7ca5ab
...
...
@@ -199,7 +199,6 @@ class ConfiguratorTemplate : public ConfiguratorInterface {
<<
val
.
second
.
data
()
<<
" could not be read! Omitting"
;
}
}
else
{
group
->
releaseSensors
();
sensor
=
std
::
make_shared
<
SBase
>
(
val
.
second
.
data
());
if
(
readSensorBase
(
*
sensor
,
val
.
second
))
{
group
->
pushBackSensor
(
sensor
);
...
...
dcdbpusher/includes/ConfiguratorTemplateEntity.h
View file @
5c7ca5ab
...
...
@@ -230,7 +230,6 @@ class ConfiguratorTemplateEntity : public ConfiguratorTemplate<SBase, SGroup> {
<<
val
.
second
.
data
()
<<
" could not be read! Omitting"
;
}
}
else
{
group
->
releaseSensors
();
sensor
=
std
::
make_shared
<
SBase
>
(
val
.
second
.
data
());
if
(
readSensorBase
(
*
sensor
,
val
.
second
))
{
group
->
pushBackSensor
(
sensor
);
...
...
@@ -433,7 +432,6 @@ class ConfiguratorTemplateEntity : public ConfiguratorTemplate<SBase, SGroup> {
<<
val
.
second
.
data
()
<<
" could not be read! Omitting"
;
}
}
else
{
group
->
releaseSensors
();
sensor
=
std
::
make_shared
<
SBase
>
(
val
.
second
.
data
());
if
(
readSensorBase
(
*
sensor
,
val
.
second
))
{
group
->
pushBackSensor
(
sensor
);
...
...
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