[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master e2e4ad6 08/12: Remove a temporary assertion t
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master e2e4ad6 08/12: Remove a temporary assertion that is no longer useful |
Date: |
Tue, 22 May 2018 17:09:22 -0400 (EDT) |
branch: master
commit e2e4ad699433b4ea3e3d7b140c2cb23d4436154f
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Remove a temporary assertion that is no longer useful
---
wx_table_generator.cpp | 2 --
1 file changed, 2 deletions(-)
diff --git a/wx_table_generator.cpp b/wx_table_generator.cpp
index df54d40..f10f036 100644
--- a/wx_table_generator.cpp
+++ b/wx_table_generator.cpp
@@ -326,8 +326,6 @@ LMI_ASSERT(std::size_t(h / lh) == 1u +
count_newlines(z.header));
{
case oe_inelastic:
{
-// Temporarily assert that this does the same as the code it replaced:
-LMI_ASSERT(w == dc_.GetMultiLineTextExtent(z.header).x);
// Also increase the column width to be sufficiently wide to
fit
// this header line if it is inelastic.
increase_to_if_smaller(width, w);
- [lmi-commits] [lmi] master updated (a1f29ab -> 40a94aa), Greg Chicares, 2018/05/22
- [lmi-commits] [lmi] master b219dd9 01/12: Note a possible future return-type change, Greg Chicares, 2018/05/22
- [lmi-commits] [lmi] master b725bcb 05/12: Reorder PDF column parameters, Greg Chicares, 2018/05/22
- [lmi-commits] [lmi] master 2c95260 07/12: Prefer 'switch' to 'if' for a two-valued enum, Greg Chicares, 2018/05/22
- [lmi-commits] [lmi] master bd86afe 04/12: Shorten an enumerator's name, Greg Chicares, 2018/05/22
- [lmi-commits] [lmi] master 9e1ac25 09/12: Fold a "ternary" conditional into a switch, Greg Chicares, 2018/05/22
- [lmi-commits] [lmi] master 40a94aa 12/12: Explain why width of an elastic column is initialized to zero, Greg Chicares, 2018/05/22
- [lmi-commits] [lmi] master 6b93e91 11/12: Remove an unneeded auxiliary function, Greg Chicares, 2018/05/22
- [lmi-commits] [lmi] master b232274 02/12: Make column elasticity enumerative rather than boolean, Greg Chicares, 2018/05/22
- [lmi-commits] [lmi] master 7e64de5 03/12: Make column alignment enumerative rather than boolean, Greg Chicares, 2018/05/22
- [lmi-commits] [lmi] master e2e4ad6 08/12: Remove a temporary assertion that is no longer useful,
Greg Chicares <=
- [lmi-commits] [lmi] master 637d535 06/12: Rework PDF column formatting in terms of "elasticity", Greg Chicares, 2018/05/22
- [lmi-commits] [lmi] master 6076b33 10/12: Simplify code; rewrite documentation, Greg Chicares, 2018/05/22