[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 8c11196 1/9: Work around a compiler warning
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 8c11196 1/9: Work around a compiler warning |
Date: |
Thu, 12 Jul 2018 13:12:57 -0400 (EDT) |
branch: master
commit 8c11196dfde86d628facdc4caf4d4c49915a57a1
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Work around a compiler warning
See:
https://lists.nongnu.org/archive/html/lmi/2018-07/msg00003.html
---
group_quote_pdf_gen_wx.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/group_quote_pdf_gen_wx.cpp b/group_quote_pdf_gen_wx.cpp
index a2413a1..e2e4fce 100644
--- a/group_quote_pdf_gen_wx.cpp
+++ b/group_quote_pdf_gen_wx.cpp
@@ -528,7 +528,8 @@ void group_quote_pdf_generator_wx::add_ledger(Ledger const&
ledger)
}
else
{
- if(invar.GroupIndivSelection != individual_selection_)
+ // static_cast to avoid an msvc warning:
+ if(static_cast<bool>(invar.GroupIndivSelection) !=
individual_selection_)
{
alarum()
<< "Group quotes cannot mix mandatory and voluntary on the
same plan."
- [lmi-commits] [lmi] master updated (f5c7c0b -> 34bd9e1), Greg Chicares, 2018/07/12
- [lmi-commits] [lmi] master 8c11196 1/9: Work around a compiler warning,
Greg Chicares <=
- [lmi-commits] [lmi] master 899a163 3/9: Improve documentation, Greg Chicares, 2018/07/12
- [lmi-commits] [lmi] master 8a68504 4/9: Call Reconcile() when reading all external input files, Greg Chicares, 2018/07/12
- [lmi-commits] [lmi] master c28ef2c 5/9: Demonstrate substitutability of alert streams, Greg Chicares, 2018/07/12
- [lmi-commits] [lmi] master 34bd9e1 9/9: Designate release candidate 20180712T1708Z, Greg Chicares, 2018/07/12
- [lmi-commits] [lmi] master ed63bee 2/9: Enable GUI test to preserve 'configurable_settings.xml', Greg Chicares, 2018/07/12
- [lmi-commits] [lmi] master 2a0823a 8/9: Throw an exception if schema validation fails, Greg Chicares, 2018/07/12
- [lmi-commits] [lmi] master d28f769 7/9: Improve certain error messages, Greg Chicares, 2018/07/12
- [lmi-commits] [lmi] master 7aaa73e 6/9: Validate external input more stringently, Greg Chicares, 2018/07/12