fixup compiler errors & finalize json (de-)serialization for values
Signed-off-by: Folling <mail@folling.io>
This commit is contained in:
parent
a934564afc
commit
785e43d9e6
13 changed files with 116 additions and 58 deletions
|
|
@ -1,13 +1,13 @@
|
|||
#pragma once
|
||||
|
||||
#include <boost/container/vector.hpp>
|
||||
#include <boost/container/small_vector.hpp>
|
||||
#include <boost/variant2.hpp>
|
||||
|
||||
#include <values/value.hpp>
|
||||
|
||||
struct IkarusNumberValue final : IkarusValue {
|
||||
public:
|
||||
using data_type = long double;
|
||||
using data_type = double;
|
||||
|
||||
public:
|
||||
explicit IkarusNumberValue();
|
||||
|
|
@ -21,7 +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<data_type, SMALL_VEC_VALUE_SIZE>> data{
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue