lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 2918ec8 6/6: Remove scaffolding


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 2918ec8 6/6: Remove scaffolding
Date: Mon, 18 Jun 2018 17:56:57 -0400 (EDT)

branch: master
commit 2918ec8164684ecd8742a04f6cb39391e3616b3c
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Remove scaffolding
---
 census_view.cpp | 24 ------------------------
 1 file changed, 24 deletions(-)

diff --git a/census_view.cpp b/census_view.cpp
index 1d117d7..5bb8e56 100644
--- a/census_view.cpp
+++ b/census_view.cpp
@@ -1471,30 +1471,6 @@ void 
CensusView::UponUpdateColumnValuesVary(wxUpdateUIEvent& e)
         || (2 == n_cols && dob_header == 
list_window_->GetColumn(1)->GetTitle())
         ;
     e.Enable(!disable);
-// Temporary testing scaffold...
-    std::vector<std::string> distinct_headers;
-    std::vector<std::string> const& 
all_headers(case_parms()[0].member_names());
-    for(auto const& header : all_headers)
-        {
-        bool const varies = column_value_varies_across_cells(header);
-        if(header != "UseDOB" && header != "IssueAge" && varies)
-            {
-            distinct_headers.push_back(header);
-            }
-        }
-    if(disable != distinct_headers.empty())
-        status()
-            << "Hey! "
-            << list_window_->GetColumnCount() - 1
-            << " != "
-            << distinct_headers.size()
-            << " "
-            << list_window_->GetColumn(0)->GetTitle()
-            << ", "
-            << list_window_->GetColumn(1)->GetTitle()
-            << std::flush
-            ;
-    else status() << " " << std::flush;
 }
 
 /// Update the dataview display.



reply via email to

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