mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
feat: toml arrays and inline tables support
This commit is contained in:
parent
b984e363ea
commit
66825d62aa
3 changed files with 150 additions and 24 deletions
|
|
@ -196,6 +196,9 @@ namespace dv {
|
|||
value(std::shared_ptr<objects::Bytes> v) noexcept {
|
||||
this->operator=(std::move(v));
|
||||
}
|
||||
value(list_t values) {
|
||||
this->operator=(std::make_shared<list_t>(std::move(values)));
|
||||
}
|
||||
|
||||
value(const value& v) noexcept : type(value_type::none) {
|
||||
this->operator=(v);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue