assimp/code/AssetLib/Ogre
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
..
OgreBinarySerializer.cpp Merge branch 'master' into less-string-bloat 2021-05-26 12:14:08 +02:00
OgreBinarySerializer.h Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
OgreImporter.cpp more const in format detection 2021-09-11 23:23:05 +02:00
OgreImporter.h Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
OgreMaterial.cpp Apply various performance fixes from clang-tidy 2021-06-22 12:27:15 -04:00
OgreParsingUtils.h Fix parsing for AMF-Files. 2021-04-03 10:25:03 +02:00
OgreStructs.cpp No need to distinguish formatting log functions. 2021-05-13 10:25:27 +01:00
OgreStructs.h Update copyrights to 2021. 2021-02-28 12:17:54 +01:00
OgreXmlSerializer.cpp No need to distinguish formatting log functions. 2021-05-13 10:25:27 +01:00
OgreXmlSerializer.h Update copyrights to 2021. 2021-02-28 12:17:54 +01:00