tiny_obj_loader.h: initialize pad_ in constructor

This commit is contained in:
Steven Peters
2018-12-11 15:09:56 -08:00
committed by GitHub
parent aa90b5466f
commit 546aa09d8d

View File

@@ -435,7 +435,7 @@ struct face_t {
int pad_; int pad_;
std::vector<vertex_index_t> vertex_indices; // face vertex indices. std::vector<vertex_index_t> vertex_indices; // face vertex indices.
face_t() : smoothing_group_id(0) {} face_t() : pad_(0), smoothing_group_id(0) {}
}; };
struct line_t { struct line_t {