Browse Source

Added some braces in juce_Grid.cpp to work around a VS2015 compiler bug

tags/2021-05-28
ed 7 years ago
parent
commit
40c948826c
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      modules/juce_gui_basics/layout/juce_Grid.cpp

+ 4
- 0
modules/juce_gui_basics/layout/juce_Grid.cpp View File

@@ -313,8 +313,12 @@ struct Grid::PlacementHelpers
strings.add (juce::StringArray::fromTokens (areaString, false));
if (strings.size() > 0)
{
for (auto s : strings)
{
jassert (s.size() == strings[0].size()); // all rows must have the same number of columns
}
}
return strings;
}


Loading…
Cancel
Save