summaryrefslogtreecommitdiff
path: root/nlpsolver
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2016-11-23 21:07:22 +0100
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-11-24 04:57:58 +0000
commitadeb91e69de33f09b154ccd7f5cdc0ac6c2cfb0c (patch)
tree0d50d695e3f7f754a6594526159ddb1a378a307f /nlpsolver
parentc3433b87985486bfe5352fda381bb9683d82b1a5 (diff)
don't use memset on std::vector
cppcheck warns: > memset( mLayoutInfo, 0, sizeof(mLayoutInfo) );<--- Using 'memset' > on struct that contains a 'std::vector'. [-] mLayoutInfo is an array of LayoutInfo, the struct LayoutInfo holds only a std::vector. remove the memset, as non-POD type LayoutInfo is default initialized. Change-Id: I3924660e39c488abbbc94404016718242c2c0c7f Reviewed-on: https://gerrit.libreoffice.org/31134 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'nlpsolver')
0 files changed, 0 insertions, 0 deletions