mirror of
https://github.com/marzer/tomlplusplus.git
synced 2024-09-15 15:13:21 +00:00
fixed erroneous use of TOML_API
causing ODR issue (closes #136)
This commit is contained in:
parent
5c5abfd8e9
commit
0388589810
@ -14,6 +14,12 @@ template:
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
|
|
||||||
|
## Unreleased
|
||||||
|
|
||||||
|
#### Fixes:
|
||||||
|
- fixed erroneous use of `TOML_API` causing ODR issue (#136) (@Azarael)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## [v3.0.0](https://github.com/marzer/tomlplusplus/releases/tag/v3.0.0) - 2022-01-11
|
## [v3.0.0](https://github.com/marzer/tomlplusplus/releases/tag/v3.0.0) - 2022-01-11
|
||||||
|
|
||||||
|
@ -117,7 +117,7 @@ TOML_NAMESPACE_START
|
|||||||
elems_.push_back(std::move(elem));
|
elems_.push_back(std::move(elem));
|
||||||
}
|
}
|
||||||
|
|
||||||
TOML_API
|
TOML_EXTERNAL_LINKAGE
|
||||||
array::vector_iterator array::insert_at(const_vector_iterator pos, impl::node_ptr && elem)
|
array::vector_iterator array::insert_at(const_vector_iterator pos, impl::node_ptr && elem)
|
||||||
{
|
{
|
||||||
return elems_.insert(pos, std::move(elem));
|
return elems_.insert(pos, std::move(elem));
|
||||||
|
2
toml.hpp
2
toml.hpp
@ -10412,7 +10412,7 @@ TOML_NAMESPACE_START
|
|||||||
elems_.push_back(std::move(elem));
|
elems_.push_back(std::move(elem));
|
||||||
}
|
}
|
||||||
|
|
||||||
TOML_API
|
TOML_EXTERNAL_LINKAGE
|
||||||
array::vector_iterator array::insert_at(const_vector_iterator pos, impl::node_ptr && elem)
|
array::vector_iterator array::insert_at(const_vector_iterator pos, impl::node_ptr && elem)
|
||||||
{
|
{
|
||||||
return elems_.insert(pos, std::move(elem));
|
return elems_.insert(pos, std::move(elem));
|
||||||
|
Loading…
Reference in New Issue
Block a user