andreiavrammsd / cpp-channel

Thread-safe container for sharing data between threads
https://blog.andreiavram.ro/cpp-channel-thread-safe-container-share-data-threads/
MIT License
415 stars 30 forks source link

fix compile with gcc 12.1 #19

Closed fwflunky closed 2 years ago

fwflunky commented 2 years ago

https://gcc.gnu.org/pipermail/gcc-bugs/2022-May/787737.html

https://github.com/andreiavrammsd/cpp-channel/blob/0e52dc877072577e579b82485f070b2a1831ee12/include/msd/channel.hpp#L125https://github.com/andreiavrammsd/cpp-channel/blob/0e52dc877072577e579b82485f070b2a1831ee12/include/msd/channel_impl.hpp#L3

andreiavrammsd commented 2 years ago

Thanks, @fwflunky!