Browse Source

Fix C++98 build

pull/321/merge
falkTX 3 years ago
parent
commit
6cf523adad
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      dgl/src/Layout.cpp

+ 3
- 1
dgl/src/Layout.cpp View File

@@ -157,8 +157,10 @@ Size<uint> VerticallyStackedHorizontalLayout::adjustSize(const uint padding)
uint width = 0;
uint height = 0;

for (SubWidgetWithSizeHint& s : l->widgets)
for (SubWidgetWithSizeHintIterator it=l->widgets.begin(), end=l->widgets.end(); it != end; ++it)
{
SubWidgetWithSizeHint& s(*it);

if (width != 0)
width += padding;



Loading…
Cancel
Save