Replace some 'if' with 'else if'
For consistency with the rest of the method.
This commit is contained in:
parent
0d3b89ed76
commit
7d736af60e
|
@ -553,13 +553,13 @@ cmGeneratorExpressionNode* GetNode(const std::string &identifier)
|
||||||
{
|
{
|
||||||
if (identifier == "0")
|
if (identifier == "0")
|
||||||
return &zeroNode;
|
return &zeroNode;
|
||||||
if (identifier == "1")
|
else if (identifier == "1")
|
||||||
return &oneNode;
|
return &oneNode;
|
||||||
if (identifier == "AND")
|
else if (identifier == "AND")
|
||||||
return &andNode;
|
return &andNode;
|
||||||
if (identifier == "OR")
|
else if (identifier == "OR")
|
||||||
return &orNode;
|
return &orNode;
|
||||||
if (identifier == "NOT")
|
else if (identifier == "NOT")
|
||||||
return ¬Node;
|
return ¬Node;
|
||||||
else if (identifier == "CONFIGURATION")
|
else if (identifier == "CONFIGURATION")
|
||||||
return &configurationNode;
|
return &configurationNode;
|
||||||
|
|
Loading…
Reference in New Issue