Build: fix some compiler warnings for g++.

This commit is contained in:
Kim Kulling
2017-05-26 09:18:23 +02:00
parent 1b4cbcc6ad
commit e93355c8b4
6 changed files with 27 additions and 26 deletions

View File

@@ -87,11 +87,16 @@ static const std::string MaterialExt = ".mtl";
ObjExporter::ObjExporter(const char* _filename, const aiScene* pScene)
: filename(_filename)
, pScene(pScene)
, endl("\n")
, vp()
, vn()
, vt()
, vc() {
, vc()
, vpMap()
, vnMap()
, vtMap()
, vcMap()
, meshes()
, endl("\n") {
// make sure that all formatting happens using the standard, C locale and not the user's current locale
const std::locale& l = std::locale("C");
mOutput.imbue(l);