Commit 42b99b78 authored by Alexander A. Maly's avatar Alexander A. Maly

Minor bug fix

parent fef4ab1d
Pipeline #2930 failed with stages
in 2 minutes and 3 seconds
......@@ -1133,7 +1133,8 @@ bool IO::readBool(InputStream &is)
}
}
#else
const BoolCode pat {.name = word.c_str()};
BoolCode pat;
pat.name = word.c_str();
const BoolCode *first = boolCodes, *last = boolCodes + boolCodesSize;
const BoolCode *here = std::lower_bound(first, last, pat);
if (here != last && word == here->name) {
......
......@@ -10,6 +10,7 @@
#include <assert.h>
#include <sstream>
#include <cmath>
#include <algorithm>
#include <float.h>
#include <time.h>
......
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