Make typed_storage constructor constexpr (#1291)

* Remove AppVeyor build status badge

Removed AppVeyor build status badge from README.

* Update README.md

* Update CONTRIBUTING.md

Updated the instructions for contributing.

* Fix for issue 1276 "Data corruption in the etl::bip_buffer_spsc_atomic" (#1277)

* Reproduce data corruption bug in the `etl::bip_buffer_spsc_atomic`.

* Fix data corruption bug in the `etl::bip_buffer_spsc_atomic`.

* Make typed_storage constructor constexpr

---------

Co-authored-by: John Wellbelove <jwellbelove@users.noreply.github.com>
Co-authored-by: Sergei <sergej.shirokov@gmail.com>
This commit is contained in:
Roland Reichwein 2026-02-02 17:43:26 +01:00 committed by John Wellbelove
parent 353c36c393
commit 75eb6680d6

View File

@ -367,7 +367,7 @@ namespace etl
//***************************************************************************
// Default constructor
//***************************************************************************
typed_storage() ETL_NOEXCEPT
ETL_CONSTEXPR typed_storage() ETL_NOEXCEPT
: valid(false)
{
}
@ -567,7 +567,7 @@ namespace etl
//*******************************
union union_type
{
union_type() ETL_NOEXCEPT
ETL_CONSTEXPR union_type() ETL_NOEXCEPT
: dummy()
{
}