qt3d: update patch: fix build with GCC >= 6.x

This commit is contained in:
Boris Pek 2016-05-04 11:41:58 +03:00
parent fc01badf03
commit d52961fe21
1 changed files with 17 additions and 2 deletions

View File

@ -33,6 +33,21 @@ index cb5f1d1..8d2be9b 100644
CONFIG += dll
}
--
1.8.4.5
From: Boris Pek <tehnick-8@mail.ru>
Date: Wed, 04 May 2016 11:41:04 +0300
Subject: [PATCH] fix build with GCC >= 6.x
diff --git a/3rdparty/assimp/code/DXFLoader.cpp b/3rdparty/assimp/code/DXFLoader.cpp
index e372d60..2c1a13d 100644
--- a/3rdparty/assimp/code/DXFLoader.cpp
+++ b/3rdparty/assimp/code/DXFLoader.cpp
@@ -84,7 +84,7 @@
// ------------------------------------------------------------------------------------------------
// Constructor to be privately used by Importer
-DXFImporter::DXFImporter() : buffer(0), groupCode(0), bRepeat(false), mDefaultLayer(false)
+DXFImporter::DXFImporter() : buffer(0), groupCode(0), bRepeat(false)
{
memset(cursor,0,sizeof(cursor));
}