mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +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() {
|
||||
for (auto entry : sections) {
|
||||
delete entry.second;
|
||||
}
|
||||
}
|
||||
|
||||
Section& Wrapper::add(std::string name) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue