Commit 667d94d9 authored by Marcin Siodelski's avatar Marcin Siodelski

[2544] Replace invalid AND with OR operators.

This fixes the omission in previous commit.
parent fdce9eb7
......@@ -858,13 +858,13 @@ public:
// Try uint32 type parser.
if (!buildParser<Uint32Parser, Uint32Storage >(parser, uint32_values_,
param.second) ||
param.second) &&
// Try string type parser.
!buildParser<StringParser, StringStorage >(parser, string_values_,
param.second) ||
param.second) &&
// Try pool parser.
!buildParser<PoolParser, PoolStorage >(parser, pools_,
param.second) ||
param.second) &&
// Try option data parser.
!buildParser<OptionDataListParser, OptionStorage >(parser, options_,
param.second)) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment