summaryrefslogtreecommitdiff
path: root/wx+/grid.h
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2018-11-15 11:22:00 +0000
committerB Stack <bgstack15@gmail.com>2018-11-15 11:22:00 +0000
commit77c5c2503d459288720a8894349ac74e5eeec7c6 (patch)
tree30bf08d782d58174a0ca212b2e4b172fabd9c42c /wx+/grid.h
parentMerge branch '10.5' into 'master' (diff)
parent10.6 (diff)
downloadFreeFileSync-77c5c2503d459288720a8894349ac74e5eeec7c6.tar.gz
FreeFileSync-77c5c2503d459288720a8894349ac74e5eeec7c6.tar.bz2
FreeFileSync-77c5c2503d459288720a8894349ac74e5eeec7c6.zip
Merge branch '10.6' into 'master'10.6
10.6 See merge request opensource-tracking/FreeFileSync!3
Diffstat (limited to 'wx+/grid.h')
-rwxr-xr-xwx+/grid.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/wx+/grid.h b/wx+/grid.h
index ccf7ad64..102396c3 100755
--- a/wx+/grid.h
+++ b/wx+/grid.h
@@ -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);
}
bgstack15