Skip to content

fix: Add missing cstddef include to FastNoiseLite.h#474

Open
elfenlieds7 wants to merge 1 commit intoprinceton-vl:mainfrom
elfenlieds7:fix/fastnoiselite-cstddef-include
Open

fix: Add missing cstddef include to FastNoiseLite.h#474
elfenlieds7 wants to merge 1 commit intoprinceton-vl:mainfrom
elfenlieds7:fix/fastnoiselite-cstddef-include

Conversation

@elfenlieds7
Copy link

Adds missing #include for proper std::size_t declaration. Fixes potential compilation errors on strict C++17/C++20 implementations.

Add missing #include <cstddef> to FastNoiseLite.h to ensure std::size_t
and related types are properly declared. This resolves potential
compilation errors on some C++ standard library implementations where
these types are not implicitly included via <cmath>.

This is a common fix for strict C++17/C++20 standard compliance.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant