assimp/code/AssetLib/AMF
Krishty 5895c0c22c more const in format detection
BaseImporter::SearchFileHeaderForToken() expected a pointer to a non-const token list. This was probably an oversight, as nobody would realistically expect the function to change the list. Furthermore, it prevented token lists from being compiled to read-only memory, in some cases even causing the compiler to generate thread-safe initialization.

The list is now const and all callers declare their token lists static const, thus compiling them to read-only memory.
2021-09-11 23:23:05 +02:00
..
AMFImporter.cpp more const in format detection 2021-09-11 23:23:05 +02:00
AMFImporter.hpp removed dead code 2021-04-23 15:15:21 +02:00
AMFImporter_Geometry.cpp removed trailing spaces and tabs from source and text 2021-07-29 13:28:51 +02:00
AMFImporter_Material.cpp Update AMFImporter_Material.cpp 2021-04-03 10:29:16 +02:00
AMFImporter_Node.hpp Merge branch 'master' into update_copyrights 2021-02-28 12:18:41 +01:00
AMFImporter_Postprocess.cpp removed trailing spaces and tabs from source and text 2021-07-29 13:28:51 +02:00