summaryrefslogtreecommitdiff
path: root/thirdparty/rvo2/Definitions.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-07-04 16:43:49 +0200
committerRémi Verschelde <rverschelde@gmail.com>2022-08-04 13:35:37 +0200
commitc717d5c64baa5c63aca977e49b0ca2b5b0b0f4e0 (patch)
treeff2c84944e52305cc0b23599737ea9359febfd22 /thirdparty/rvo2/Definitions.h
parent20e4b90fe947d30bf8767fad536a263735be61fb (diff)
Arrays: Zero new items of trivial types on resize() (bindings only)
This is not enabled by default in the core version for performance reasons, as Vector/CowData are used in critical code paths where not zero'ing memory which is going to be set later on can be important. But for bindings / the scripting API, we make zero the new items by default (which already happened for built types like Vector3, etc., but not for trivial types like int, float). Fixes #43033. Co-authored-by: David Hoppenbrouwers <david@salt-inc.org>
Diffstat (limited to 'thirdparty/rvo2/Definitions.h')
0 files changed, 0 insertions, 0 deletions