diff options
author | B Stack <bgstack15@gmail.com> | 2018-11-13 06:58:56 -0500 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2018-11-13 06:58:56 -0500 |
commit | 076498028ff511afd88d93e7b0bf1d1a81093b3d (patch) | |
tree | 30bf08d782d58174a0ca212b2e4b172fabd9c42c /wx+/grid.h | |
parent | Merge branch '10.5' into 'master' (diff) | |
download | FreeFileSync-076498028ff511afd88d93e7b0bf1d1a81093b3d.tar.gz FreeFileSync-076498028ff511afd88d93e7b0bf1d1a81093b3d.tar.bz2 FreeFileSync-076498028ff511afd88d93e7b0bf1d1a81093b3d.zip |
10.6
Diffstat (limited to 'wx+/grid.h')
-rwxr-xr-x | wx+/grid.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -271,8 +271,8 @@ private: { if (rowFirst <= rowLast) { - numeric::clamp<size_t>(rowFirst, 0, selected_.size()); - numeric::clamp<size_t>(rowLast, 0, selected_.size()); + rowFirst = std::clamp<size_t>(rowFirst, 0, selected_.size()); + rowLast = std::clamp<size_t>(rowLast, 0, selected_.size()); std::fill(selected_.begin() + rowFirst, selected_.begin() + rowLast, positive); } |