]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/panel.cpp
Simplify constructors with C++11
[libs/gltk.git] / source / panel.cpp
index fa16ec7de2826733d04a876f7ec445953bc76a8d..871d7a2d9ebffb211d1bdc3f389a4fd6374e31e6 100644 (file)
@@ -27,8 +27,7 @@ namespace GLtk {
 TypeRegistry<Panel::Loader::AddChildType, Panel::Loader &> Panel::widget_registry;
 bool Panel::widget_registry_init_done = false;
 
-Panel::Panel():
-       layout(0)
+Panel::Panel()
 {
        input_type = INPUT_NAVIGATION;
 }