Fix: StackAllocator.h linkage fix
parent
0b19b7d73b
commit
3134c92c40
|
@ -88,6 +88,11 @@ private:
|
||||||
|
|
||||||
} // namespace Assimp
|
} // 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"
|
#include "StackAllocator.inl"
|
||||||
|
|
||||||
#endif // include guard
|
#endif // include guard
|
||||||
|
|
Loading…
Reference in New Issue