BlenderDNA: Silence warning about uninitialized member

pull/1578/head
Turo Lamminen 2017-11-18 16:49:03 +02:00
parent bcffa28a33
commit 2c8cc1f732
1 changed files with 6 additions and 0 deletions

View File

@ -92,6 +92,12 @@ struct Error : DeadlyImportError {
* descendents. It serves as base class for all data structure fields. */ * descendents. It serves as base class for all data structure fields. */
// ------------------------------------------------------------------------------- // -------------------------------------------------------------------------------
struct ElemBase { struct ElemBase {
ElemBase()
: dna_type(nullptr)
{
// empty
}
virtual ~ElemBase() { virtual ~ElemBase() {
// empty // empty
} }