]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/grid.h
Simplify constructors with C++11
[libs/gltk.git] / source / grid.h
index 29d7b6d37257686cfd0d56b8abb274a333c556f5..9324f95fac937b1bb53c1d1167a861da338109d8 100644 (file)
@@ -30,8 +30,8 @@ private:
        std::vector<Column> columns;
        Edge row_top;
        Edge row_bottom;
-       bool first_row;
-       unsigned column;
+       bool first_row = true;
+       unsigned column = 0;
 
 public:
        Grid(Layout &, unsigned);