mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-06 05:27:24 +00:00
tests/reflection_test.h: add missing <stdint.h> include (#7680)
Without the change build fails on weekly `gcc-13` snapshots as:
In file included from /build/flatbuffers/tests/reflection_test.cpp:1:
tests/reflection_test.h:9:57: error: 'uint8_t' has not been declared
9 | void ReflectionTest(const std::string& tests_data_path, uint8_t *flatbuf, size_t length);
| ^~~~~~~
This commit is contained in:
committed by
GitHub
parent
cf89d1e756
commit
7e00b754f0
@@ -1,6 +1,7 @@
|
||||
#ifndef TESTS_REFLECTION_TEST_H
|
||||
#define TESTS_REFLECTION_TEST_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <string>
|
||||
|
||||
namespace flatbuffers {
|
||||
|
||||
Reference in New Issue
Block a user