Fixed toml::Wrapper destructor
This commit is contained in:
parent
e440b36823
commit
59ad71ce55
@ -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…
x
Reference in New Issue
Block a user