Minor fix

This commit is contained in:
MihailRis 2023-11-14 19:17:29 +03:00
parent 59ad71ce55
commit f6c74dfb8b

View File

@ -47,7 +47,7 @@ string Section::getName() const {
const Field* Section::field(std::string name) const {
auto found = fields.find(name);
if (found == nullptr) {
if (found == fields.end()) {
return nullptr;
}
return &found->second;