summaryrefslogtreecommitdiff
path: root/udkapi/com
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-08-23 09:05:46 +0200
committerStephan Bergmann <sbergman@redhat.com>2019-08-23 14:40:19 +0200
commit9a251699d728fa6207b71406cd91aafb7803f453 (patch)
tree124c54d9455e50c398cbf51795c5b1f5dee6d394 /udkapi/com
parent8d71f19550c969bb322460fd7a06021a0421ba66 (diff)
Improve loplugin:sequenceloop warning
...from > sfx2/source/appl/shutdowniconaqua.mm:416:13: error: use std::as_const, or make range var const, to avoid creating a copy of the Sequence [loplugin:sequenceloop] > for ( auto const & newMenuProp : aNewMenu ) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ to > sfx2/source/appl/shutdowniconaqua.mm:416:46: error: use std::as_const, or make range var const, to avoid creating a copy of the Sequence [loplugin:sequenceloop] > for ( auto const & newMenuProp : aNewMenu ) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ Change-Id: I1eabe80abeed1784a246a6e3c9b7036f664ee681 Reviewed-on: https://gerrit.libreoffice.org/77989 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'udkapi/com')
0 files changed, 0 insertions, 0 deletions