Skip to content

Commit

Permalink
use vector of optional cost_stamp_t's
Browse files Browse the repository at this point in the history
  • Loading branch information
dmwever committed Jan 23, 2025
1 parent f959d2f commit 342efb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libopenage/pathfinding/cost_field.h
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ class CostField {
/**
* Cost field values.
*/
std::unordered_map<size_t, cost_stamp_t> cost_stamps;
std::vector<std::optional<cost_stamp_t>> cost_stamps;
};

} // namespace path
Expand Down

0 comments on commit 342efb9

Please sign in to comment.