Vertical-Beach / ByteTrack-cpp

C++ implementation of ByteTrack that does not include an object detection algorithm.
MIT License
139 stars 27 forks source link

Standard library header include fixes #7

Closed derpda closed 2 years ago

derpda commented 2 years ago

As described in issue #6, there were some header includes missing. I have added the includes where they were needed, and removed them from places where they were not. For this, I have tried to stick to the Google C++ Guidelines. If you prefer a different style, do let me know and I will adapt the changes in this PR.

I also took the liberty to fix a warning related to the usage of LONG_MAX for a float value, replacing it with std::numeric_limits<float>::max().

With these changes, the library builds without errors or warning for my particular compiler settings.

medalotte commented 2 years ago

Thank you!