Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Corryvreckan
Corryvreckan
Commits
4f513958
Commit
4f513958
authored
Nov 06, 2018
by
Simon Spannagel
Browse files
Remove spurious debug output
parent
264fb94b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/core/detector/Detector.cpp
View file @
4f513958
...
...
@@ -29,12 +29,9 @@ Detector::Detector(const Configuration& config) : m_role(DetectorRole::NONE) {
std
::
transform
(
role
.
begin
(),
role
.
end
(),
role
.
begin
(),
::
tolower
);
if
(
role
==
"none"
)
{
m_role
|=
DetectorRole
::
NONE
;
LOG
(
ERROR
)
<<
config
.
getName
()
<<
" is none"
;
}
else
if
(
role
==
"reference"
)
{
LOG
(
ERROR
)
<<
config
.
getName
()
<<
" is reference"
;
m_role
|=
DetectorRole
::
REFERENCE
;
}
else
if
(
role
==
"dut"
)
{
LOG
(
ERROR
)
<<
config
.
getName
()
<<
" is dut"
;
m_role
|=
DetectorRole
::
DUT
;
}
else
{
throw
InvalidValueError
(
config
,
"role"
,
"Detector role does not exist."
);
...
...
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