[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 27744ce 2/5: Make a member datum const
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 27744ce 2/5: Make a member datum const |
Date: |
Mon, 30 Jul 2018 07:23:15 -0400 (EDT) |
branch: master
commit 27744ce1768977ab1ca658795f12906bf0d961e5
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Make a member datum const
It's always initialized upon construction, and never changed thereafter.
---
wx_table_generator.hpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/wx_table_generator.hpp b/wx_table_generator.hpp
index de075ed..9d0046d 100644
--- a/wx_table_generator.hpp
+++ b/wx_table_generator.hpp
@@ -156,7 +156,7 @@ class wx_table_generator
// These values could be recomputed, but cache them for performance.
int const char_height_;
- int row_height_;
+ int const row_height_;
int column_margin_;
std::vector<table_column_info> all_columns_;