lmi-commits
[Top][All Lists]
Advanced

[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);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]