[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 02a7159 1/4: Improve const correctness
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 02a7159 1/4: Improve const correctness |
Date: |
Fri, 21 Sep 2018 17:22:38 -0400 (EDT) |
branch: master
commit 02a715920c1b09a05437fc4ece7ce668a3c2a007
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Improve const correctness
---
wx_table_generator.hpp | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/wx_table_generator.hpp b/wx_table_generator.hpp
index 2e98ba2..58ec6b6 100644
--- a/wx_table_generator.hpp
+++ b/wx_table_generator.hpp
@@ -158,8 +158,8 @@ class wx_table_generator
wxDC& dc_;
- int left_margin_;
- int total_width_;
+ int const left_margin_;
+ int const total_width_;
// These values could be recomputed, but cache them for performance.
int const char_height_;
@@ -175,10 +175,10 @@ class wx_table_generator
// If false, separator lines are not drawn automatically (they can still be
// drawn by calling output_horz_separator() or output_vert_separator()
// explicitly).
- bool draw_separators_;
+ bool const draw_separators_;
// If true, headers are drawn in bold.
- bool use_bold_headers_;
+ bool const use_bold_headers_;
};
#endif // wx_table_generator_hpp