From 0cfc87bd32822e5ba22d8c2b1a26fa60f63ad7fa Mon Sep 17 00:00:00 2001
From: rudb <office@database.ru>
Date: Fri, 19 Jun 2026 15:11:53 +0000
Subject: [PATCH] СУБД RuDB - релиз 2
---
contrib/postgis/deps/flatgeobuf/include/flatbuffers/flatbuffer_builder.h | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/contrib/postgis/deps/flatgeobuf/include/flatbuffers/flatbuffer_builder.h b/contrib/postgis/deps/flatgeobuf/include/flatbuffers/flatbuffer_builder.h
index cf9d88f..92f7582 100644
--- a/contrib/postgis/deps/flatgeobuf/include/flatbuffers/flatbuffer_builder.h
+++ b/contrib/postgis/deps/flatgeobuf/include/flatbuffers/flatbuffer_builder.h
@@ -48,16 +48,14 @@
const T *data(const std::vector<T, Alloc> &v) {
// Eventually the returned pointer gets passed down to memcpy, so
// we need it to be non-null to avoid undefined behavior.
- alignas(T) static uint8_t t;
-
+ alignas(T) static uint8_t t; /*#<<<DIA_SVACE_MAJOR>>>*/
return v.empty() ? reinterpret_cast<const T *>(&t) : &v.front();
}
template<typename T, typename Alloc = std::allocator<T>>
T *data(std::vector<T, Alloc> &v) {
// Eventually the returned pointer gets passed down to memcpy, so
// we need it to be non-null to avoid undefined behavior.
- alignas(T) static uint8_t t;
-
+ alignas(T) static uint8_t t; /*#<<<DIA_SVACE_MAJOR>>*/
return v.empty() ? reinterpret_cast<T *>(&t) : &v.front();
}
--
Gitblit v1.10.0