diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-12-09 20:37:29 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-09 20:37:29 +0100 |
| commit | 8633c78d7a0809cf0fcc0ec6350ad5b71bca9faf (patch) | |
| tree | 39ec629f5b80beb10919677fd12d7b258aaa2e14 /vendor/toml++/impl/array.inl | |
| parent | 26783733863f62c468a4c8cb2853badd54e30a39 (diff) | |
| parent | 4e6fd1dd8c9762ea6543ec275fe57ca474f23d8f (diff) | |
Merge pull request #21 from nekernel-org/codebase-chore-raii
chore: codebase modernization and hygiene improvements.
Diffstat (limited to 'vendor/toml++/impl/array.inl')
| -rw-r--r-- | vendor/toml++/impl/array.inl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vendor/toml++/impl/array.inl b/vendor/toml++/impl/array.inl index 7ae8ee1..194a21f 100644 --- a/vendor/toml++/impl/array.inl +++ b/vendor/toml++/impl/array.inl @@ -207,7 +207,7 @@ TOML_NAMESPACE_START { } TOML_EXTERNAL_LINKAGE - void array::flatten_child(array && child, size_t & dest_index) noexcept { + void array::flatten_child(array && child, size_t& dest_index) noexcept { for (size_t i = 0, e = child.size(); i < e; i++) { auto type = child.elems_[i]->type(); if (type == node_type::array) { @@ -219,7 +219,7 @@ TOML_NAMESPACE_START { } TOML_EXTERNAL_LINKAGE - array& array::flatten()& { + array& array::flatten() & { if (elems_.empty()) return *this; bool requires_flattening = false; @@ -258,7 +258,7 @@ TOML_NAMESPACE_START { } TOML_EXTERNAL_LINKAGE - array& array::prune(bool recursive)& noexcept { + array& array::prune(bool recursive) & noexcept { if (elems_.empty()) return *this; for (size_t i = elems_.size(); i-- > 0u;) { |
