1
0
forked from 0ad/0ad
0ad/source/simulation2/tests
wraitii 0e7fafebe1 Refuse to serialize NaN values.
NaN values could not be serialised safely because of the multiple
possible NaN numbers.
Since NaN values are usually the result of bugs or dangerous code, it
seems simpler to refuse to serialise them.

(D3205 was a safe-serialization alternative, should the need arise).

Fixes #1879

Differential Revision: https://code.wildfiregames.com/D3729
This was SVN commit r25151.
2021-03-28 16:48:25 +00:00
..
test_CmpTemplateManager.h Make real directory paths on the VFS predictable (retry) 2021-03-23 12:46:59 +00:00
test_ComponentManager.h Make real directory paths on the VFS predictable (retry) 2021-03-23 12:46:59 +00:00
test_EntityMap.h Update random_shuffle usage for C++17 2020-11-30 15:52:16 +00:00
test_ParamNode.h Use XML files instead of hardcoded C++ code in the template manager to universally change template properties at load time. 2017-03-16 19:56:12 +00:00
test_Serializer.h Refuse to serialize NaN values. 2021-03-28 16:48:25 +00:00
test_SerializeTemplates.h Use templates to replace explicit serialization helpers. 2020-12-19 09:10:37 +00:00
test_Simulation2.h Make real directory paths on the VFS predictable (retry) 2021-03-23 12:46:59 +00:00