[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [6538] Further improve the 20160327T1021Z improvement (VZ)
From: |
Greg Chicares |
Subject: |
[lmi-commits] [6538] Further improve the 20160327T1021Z improvement (VZ) |
Date: |
Wed, 30 Mar 2016 19:45:37 +0000 |
Revision: 6538
http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=6538
Author: chicares
Date: 2016-03-30 19:45:36 +0000 (Wed, 30 Mar 2016)
Log Message:
-----------
Further improve the 20160327T1021Z improvement (VZ)
Modified Paths:
--------------
lmi/trunk/ChangeLog
lmi/trunk/multidimgrid_any.cpp
Modified: lmi/trunk/ChangeLog
===================================================================
--- lmi/trunk/ChangeLog 2016-03-27 22:23:15 UTC (rev 6537)
+++ lmi/trunk/ChangeLog 2016-03-30 19:45:36 UTC (rev 6538)
@@ -38813,3 +38813,9 @@
Avoid shadowing variable names (VZ). See:
http://lists.nongnu.org/archive/html/lmi/2016-02/msg00017.html
+20160330T1945Z <address@hidden> [454]
+
+ multidimgrid_any.cpp
+Further improve the 20160327T1021Z improvement (VZ). See:
+ http://lists.nongnu.org/archive/html/lmi/2016-03/msg00042.html
+
Modified: lmi/trunk/multidimgrid_any.cpp
===================================================================
--- lmi/trunk/multidimgrid_any.cpp 2016-03-27 22:23:15 UTC (rev 6537)
+++ lmi/trunk/multidimgrid_any.cpp 2016-03-30 19:45:36 UTC (rev 6538)
@@ -1419,7 +1419,7 @@
void MultiDimAxisAnyChoice::SelectionChanged()
{
int const sel = GetSelection();
- if(!(0 <= sel && sel < static_cast<int>(axis_.GetCardinality())))
+ if(!(0 <= sel && static_cast<unsigned int>(sel) < axis_.GetCardinality()))
{
fatal_error()
<< "The axis is inconsistent with its choice control."
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lmi-commits] [6538] Further improve the 20160327T1021Z improvement (VZ),
Greg Chicares <=