From 0343396e49d1c0bf4ca1058130efd9585ecb3c8f Mon Sep 17 00:00:00 2001 From: Anton Bobukh Date: Wed, 13 Sep 2023 10:23:39 -0700 Subject: [PATCH] Fully qualify the offset type in FLATBUFFERS_VTABLE_UNDERLYING_TYPE (#8094) --- include/flatbuffers/base.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/flatbuffers/base.h b/include/flatbuffers/base.h index 5c4cae791cf..f576cc24cd4 100644 --- a/include/flatbuffers/base.h +++ b/include/flatbuffers/base.h @@ -155,7 +155,7 @@ namespace flatbuffers { #define FLATBUFFERS_FINAL_CLASS final #define FLATBUFFERS_OVERRIDE override #define FLATBUFFERS_EXPLICIT_CPP11 explicit - #define FLATBUFFERS_VTABLE_UNDERLYING_TYPE : flatbuffers::voffset_t + #define FLATBUFFERS_VTABLE_UNDERLYING_TYPE : ::flatbuffers::voffset_t #else #define FLATBUFFERS_FINAL_CLASS #define FLATBUFFERS_OVERRIDE