[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master a6e446f 1/8: Move nested-class forward declar
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master a6e446f 1/8: Move nested-class forward declaration |
Date: |
Fri, 27 Apr 2018 10:52:48 -0400 (EDT) |
branch: master
commit a6e446f88be2d406fb220e26a13c3dd18713c2a0
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Move nested-class forward declaration
Made the nested class as prominent as it is important, by moving it to
the top of the enclosing class's declaration.
---
wx_table_generator.hpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/wx_table_generator.hpp b/wx_table_generator.hpp
index 2ffaec9..00ca8d7 100644
--- a/wx_table_generator.hpp
+++ b/wx_table_generator.hpp
@@ -43,6 +43,8 @@
class wx_table_generator
{
+ class column_info;
+
public:
// The life time of the specified wxDC must be greater than the life time
// of this object itself and nothing should be using it while this object
@@ -165,7 +167,6 @@ class wx_table_generator
int row_height_;
int column_margin_;
- class column_info;
std::vector<column_info> columns_;
// Initially false, set to true after do_compute_column_widths()
- [lmi-commits] [lmi] master updated (6fbb81b -> df0e283), Greg Chicares, 2018/04/27
- [lmi-commits] [lmi] master a6e446f 1/8: Move nested-class forward declaration,
Greg Chicares <=
- [lmi-commits] [lmi] master df0e283 8/8: Initialize variable at declaration; simplify logic; clarify commentary, Greg Chicares, 2018/04/27
- [lmi-commits] [lmi] master f6c8fa6 6/8: Add and use const accessors, Greg Chicares, 2018/04/27
- [lmi-commits] [lmi] master 124dd7b 7/8: Expunge a simulation of a const accessor, Greg Chicares, 2018/04/27
- [lmi-commits] [lmi] master 93ee33f 2/8: Rename a member variable, Greg Chicares, 2018/04/27
- [lmi-commits] [lmi] master c88b192 5/8: Rename member variables, Greg Chicares, 2018/04/27
- [lmi-commits] [lmi] master 1750a86 3/8: Add const accessors, Greg Chicares, 2018/04/27
- [lmi-commits] [lmi] master 30286c5 4/8: Use const accessors, Greg Chicares, 2018/04/27