Skip to content
Snippets Groups Projects
Commit 99f45dfb authored by Nils Krumnack's avatar Nils Krumnack
Browse files

add missing safety check to selection decoration parser

Had been meaning to have put it in from the beginning, but forgot.


Former-commit-id: 2c67a02fd11a2627af296095071392e324a0bedf
parent e6425d4a
No related branches found
No related tags found
Loading
......@@ -64,6 +64,12 @@ namespace CP
}
}
if (asChar && asBits)
{
ANA_MSG_ERROR ("can't specify both 'as_bits' and 'as_char' for the same selection decoration, pick one!!!");
return StatusCode::FAILURE;
}
if (!asChar && !asBits)
{
if (defaultToChar)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment