Skip to content

Commit

Permalink
Refactored ResourceManager to use vector.
Browse files Browse the repository at this point in the history
Removed usage of a raw buffer of bytes in favour of std vector<optional<ResourceData>>.
This approach is safer, avoiding memory management + fixes GCC errors using offsetof on non-standard Resource types.
  • Loading branch information
MStachowicz committed Nov 30, 2023
1 parent a315849 commit 1fcc9c8
Showing 1 changed file with 292 additions and 386 deletions.
Loading

0 comments on commit 1fcc9c8

Please sign in to comment.