mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-25 01:41:43 +00:00
[build] Build examples in CMake CI (#5667)
This commit is contained in:
@@ -20,6 +20,11 @@
|
||||
|
||||
namespace nt {
|
||||
|
||||
#if __GNUC__ >= 13
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
|
||||
#endif
|
||||
|
||||
/**
|
||||
* A network table entry value.
|
||||
* @ingroup ntcore_cpp_api
|
||||
@@ -641,9 +646,13 @@ class Value final {
|
||||
private:
|
||||
NT_Value m_val = {};
|
||||
std::shared_ptr<void> m_storage;
|
||||
size_t m_size;
|
||||
size_t m_size = 0;
|
||||
};
|
||||
|
||||
#if __GNUC__ >= 13
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
||||
bool operator==(const Value& lhs, const Value& rhs);
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user