FreeCAD: master 143f6973

Author Committer Branch Timestamp Parent
abdullah wmayer master 2019-02-27 12:53:24 master 1a401a6a
Changeset GCC 4.8 brace initializer requires double braces

================================================

GCC 7 and clang work fine without the extra set of braces.

std::array<T, N> is an aggregate that contains a C array. To initialize it, you need outer braces for the class itself and inner braces for the C array:

https://stackoverflow.com/questions/12844475/why-cant-simple-initialize-with-braces-2d-stdarray
mod - src/Mod/Sketcher/App/ExternalGeometryExtension.h Diff File