diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-10-27 16:08:15 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-10-27 16:08:46 +0200 |
commit | 540d5e00714feef70d896d8856dc33db694e6e4b (patch) | |
tree | de50bf71d3f9dbb54609d488a9b2c33c53238f6d /vcl/win | |
parent | 6f95909b3351451f96fb40ef6b2c21580d7a4c64 (diff) |
loplugin:rangedforcopy (clang-cl)
Change-Id: I468d951007089fefc235e245c3cb4baea4aa51f7
Diffstat (limited to 'vcl/win')
-rw-r--r-- | vcl/win/app/salinst.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/win/app/salinst.cxx b/vcl/win/app/salinst.cxx index 68ad7deb994d..40be2b1e4180 100644 --- a/vcl/win/app/salinst.cxx +++ b/vcl/win/app/salinst.cxx @@ -837,7 +837,7 @@ bool WinSalInstance::AnyInput( VclInputFlags nType ) ~VclInputFlags(VclInputFlags::KEYBOARD | VclInputFlags::TIMER); std::vector<MsgRange> aMsgRangeList( GetOtherRanges( nOtherType ) ); - for ( MsgRange aRange : aMsgRangeList ) + for ( MsgRange const & aRange : aMsgRangeList ) if ( PeekMessageW( &aMsg, nullptr, aRange.nStart, aRange.nEnd, PM_NOREMOVE | PM_NOYIELD ) ) return true; |