Stiffstream / sobjectizer

An implementation of Actor, Publish-Subscribe, and CSP models in one rather small C++ framework. With performance, quality, and stability proved by years in the production.
https://stiffstream.com/en/products/sobjectizer.html
Other
476 stars 47 forks source link

SO_5_TYPE shouldn't be used for so_5::stats::messages::quantity #80

Closed eao197 closed 6 months ago

eao197 commented 6 months ago

The so_5::stats::messages::quantity type now uses SO_5_TYPE modifier: https://github.com/Stiffstream/sobjectizer/blob/3e140e4ef9766e46068bdc036795bebeb11f0bb5/dev/so_5/stats/messages.hpp#L48

It prevents to use quantity with other types of data, like quantity<int> when SObjectizer is compiled as dynamic library on Windows.