Fixed toml::Wrapper destructor

This commit is contained in:
MihailRis 2023-11-14 16:17:32 +03:00
parent e440b36823
commit 59ad71ce55

View File

@ -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) {