Fix: StackAllocator Undefined Reference fix

pull/5650/head
Brad D 2024-07-01 15:25:56 -05:00
parent 0b19b7d73b
commit 5ee7ec7f6c
1 changed files with 5 additions and 0 deletions

View File

@ -88,6 +88,11 @@ private:
} // namespace Assimp
/// @brief Fixes an undefined reference error when linking in certain build environments.
// May throw warnings about needing stdc++17, but should compile without issues on modern compilers.
inline const size_t Assimp::StackAllocator::g_maxBytesPerBlock;
inline const size_t Assimp::StackAllocator::g_startBytesPerBlock;
#include "StackAllocator.inl"
#endif // include guard