mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-02 04:04:19 +00:00
In case when flatbuffers are being used along with other project that defines "max" preprocessor macro, the ::max() in FLATBUFFERS_MAX_BUFFER_SIZE and FLATBUFFERS_MAX_64_BUFFER_SIZE is incorrectly being expanded to the macro. Adding parentheses enforces function-like interpretation. Co-authored-by: Derek Bailey <derekbailey@google.com>