Fixing Linux build

GCC 4.8 does not fully support C++11 and in-class char array initialization
This commit is contained in:
Lukas Matena 2019-09-27 11:31:16 +02:00
parent 4b35ebe6e5
commit 661c91a821

View File

@ -90,7 +90,7 @@ struct stl_neighbors {
struct stl_stats { struct stl_stats {
stl_stats() { memset(&header, 0, 81); } stl_stats() { memset(&header, 0, 81); }
char header[81] = ""; char header[81];
stl_type type = (stl_type)0; stl_type type = (stl_type)0;
uint32_t number_of_facets = 0; uint32_t number_of_facets = 0;
stl_vertex max = stl_vertex::Zero(); stl_vertex max = stl_vertex::Zero();