mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
Minor fix
This commit is contained in:
parent
59ad71ce55
commit
f6c74dfb8b
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue