aboutsummaryrefslogtreecommitdiff
path: root/tests/datasets
diff options
context:
space:
mode:
authorGeorgios Pinitas <georgios.pinitas@arm.com>2018-12-12 19:01:46 +0000
committerGeorgios Pinitas <georgios.pinitas@arm.com>2018-12-13 10:42:21 +0000
commit3ba0ab113cd81705a3e5962ba807f30656987935 (patch)
tree9fb587dcb8b0c14aeeaf261bff340a95841ff85c /tests/datasets
parent05045c1e052dbba4e44bf0bb8ead3e9b5220d04e (diff)
downloadComputeLibrary-3ba0ab113cd81705a3e5962ba807f30656987935.tar.gz
COMPMID-1710: Avoid undefined behavior in GCC 8.2
Undefined behavior when pushing object which contain unique_ptr to a vector container. Vector dynamic resizing was making all the unique_ptr members of the inserted objects up to this point invalid. As a workaround, memory is reserved to avoid vector reallocation. Change-Id: I74f7641a7f36981ebe51720a924b865bb7f54c91 Reviewed-on: https://review.mlplatform.org/390 Tested-by: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Pablo Marquez <pablo.tello@arm.com>
Diffstat (limited to 'tests/datasets')
0 files changed, 0 insertions, 0 deletions