SanderMertens / flecs

A fast entity component system (ECS) for C & C++
https://www.flecs.dev
MIT License
5.7k stars 411 forks source link

Use `fseek(file, 0, SEEK_SET)` instead of `rewind(file)`. #1155

Closed waywardmonkeys closed 3 months ago

waywardmonkeys commented 3 months ago

This removes a warning when using clang-tidy as rewind() can't report errors while fseek() can. (Not that we're checking for errors here anyway...)

SanderMertens commented 3 months ago

LGTM!