mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-16 01:07:29 +00:00
Removal of support for FLATBUFFERS_CPP98_STL (#6918)
* Removal of support for FLATBUFFERS_CPP98_STL For context, see https://github.com/google/flatbuffers/issues/6704 * Also removed vector_data
This commit is contained in:
committed by
GitHub
parent
3fab0c6ee4
commit
6748c373be
@@ -73,7 +73,7 @@ struct underlying_of_scalar {
|
||||
template<typename T> struct underlying_of_scalar<T, true> {
|
||||
// clang-format off
|
||||
// There are old compilers without full C++11 support (see stl_emulation.h).
|
||||
#if defined(FLATBUFFERS_TEMPLATES_ALIASES) && !defined(FLATBUFFERS_CPP98_STL)
|
||||
#if defined(FLATBUFFERS_TEMPLATES_ALIASES)
|
||||
using type = typename std::underlying_type<T>::type;
|
||||
#else
|
||||
typedef int64_t type;
|
||||
|
||||
Reference in New Issue
Block a user