[build] Build examples in CMake CI (#5667)

This commit is contained in:
Tyler Veness
2023-09-20 21:03:55 -07:00
committed by GitHub
parent 97021f074a
commit 07a0d22fe6
7 changed files with 43 additions and 11 deletions

View File

@@ -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);
/**