implement IkarusPropertySource and switch to cppbase::overloaded
Signed-off-by: Folling <mail@folling.io>
This commit is contained in:
parent
700d9a92f9
commit
8fa56decd0
10 changed files with 90 additions and 50 deletions
|
|
@ -5,9 +5,9 @@
|
|||
|
||||
#include <values/value.hpp>
|
||||
|
||||
struct IkarusNumberValue final : IkarusValue {
|
||||
struct IkarusNumberValue : IkarusValue {
|
||||
public:
|
||||
using data_type = double;
|
||||
using DataType = double;
|
||||
|
||||
public:
|
||||
explicit IkarusNumberValue();
|
||||
|
|
@ -21,6 +21,6 @@ public:
|
|||
~IkarusNumberValue() override = default;
|
||||
|
||||
public:
|
||||
boost::variant2::variant<boost::variant2::monostate, boost::container::small_vector<data_type, SMALL_VEC_VALUE_SIZE>> data{
|
||||
boost::variant2::variant<boost::variant2::monostate, boost::container::small_vector<DataType, SMALL_VEC_VALUE_SIZE>> data{
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue