mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-13 23:11:49 +00:00
Fixed toml::Wrapper destructor
This commit is contained in:
parent
e440b36823
commit
59ad71ce55
1 changed files with 3 additions and 0 deletions
|
|
@ -58,6 +58,9 @@ const std::vector<std::string>& Section::keys() const {
|
||||||
}
|
}
|
||||||
|
|
||||||
Wrapper::~Wrapper() {
|
Wrapper::~Wrapper() {
|
||||||
|
for (auto entry : sections) {
|
||||||
|
delete entry.second;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Section& Wrapper::add(std::string name) {
|
Section& Wrapper::add(std::string name) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue