diff --git a/katabatic/src/GCell.cpp b/katabatic/src/GCell.cpp index 27894994..e6cdd6b5 100644 --- a/katabatic/src/GCell.cpp +++ b/katabatic/src/GCell.cpp @@ -1054,6 +1054,7 @@ namespace Katabatic { std::set::iterator igcell = _map.begin(); GCell* gcell = *igcell; _map.erase ( igcell ); + return gcell; }