Merge branch 'main' into 2027

This commit is contained in:
Peter Johnson
2025-09-25 22:03:55 -07:00
93 changed files with 941 additions and 387 deletions

View File

@@ -177,6 +177,7 @@ static_assert(ValidType<uint8_t[]>);
static_assert(ValidType<std::vector<uint8_t>>);
template <ValidType T, NT_Type type>
// NOLINTNEXTLINE(google-readability-casting)
constexpr bool IsNTType = TypeInfo<std::remove_cvref_t<T>>::kType == type;
static_assert(IsNTType<bool, NT_BOOLEAN>);

View File

@@ -4,6 +4,8 @@
#pragma once
#include <stdint.h>
#include <functional>
#include <string_view>

View File

@@ -7,9 +7,7 @@
#include <stdint.h>
#include <atomic>
#include <concepts>
#include <span>
#include <string_view>
#include <utility>
#include <vector>
@@ -207,7 +205,7 @@ class ProtobufPublisher : public Publisher {
ProtobufPublisher(ProtobufPublisher&& rhs)
: Publisher{std::move(rhs)},
m_msg{std::move(rhs.m_msg)},
m_schemaPublished{rhs.m_schemaPublished} {}
m_schemaPublished{rhs.m_schemaPublished.load()} {}
ProtobufPublisher& operator=(ProtobufPublisher&& rhs) {
Publisher::operator=(std::move(rhs));