Add missing #include <algorithm> for std::min/std::max uses, and #include <limits> for std::numeric_limits<> (#7624)

This commit is contained in:
Even Rouault
2022-11-08 18:36:35 +01:00
committed by GitHub
parent 214cc94681
commit a22434e2a1
19 changed files with 32 additions and 5 deletions

View File

@@ -1,5 +1,6 @@
#include "binary_annotator.h"
#include <algorithm>
#include <limits>
#include <string>
#include <vector>
@@ -1416,4 +1417,4 @@ bool BinaryAnnotator::ContainsSection(const uint64_t offset) {
it->second.regions.back().length;
}
} // namespace flatbuffers
} // namespace flatbuffers