]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/layout.h
Style and comment updates
[libs/gltk.git] / source / layout.h
index 14def25e718bc83e00f28d975ad4b08ba7945c29..2d34b7ad43b3e7be75c973540606ba0337a2cbbb 100644 (file)
@@ -1,7 +1,6 @@
 #ifndef MSP_GLTK_LAYOUT_H_
 #define MSP_GLTK_LAYOUT_H_
 
-#include <set>
 #include <vector>
 #include <sigc++/trackable.h>
 #include <msp/strings/lexicalcast.h>
@@ -174,8 +173,8 @@ private:
 
        Container *container = nullptr;
        std::vector<Slot *> slots;
-       unsigned n_active_slots = 0;
-       unsigned n_slack_vars[2] = { 0, 0 };
+       std::size_t n_active_slots = 0;
+       std::size_t n_slack_vars[2] = { 0, 0 };
        Sides margin{ 8 };
        unsigned row_spacing = 5;
        unsigned col_spacing = 4;