lmi-commits
[Top][All Lists]
Advanced

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



reply via email to

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