3DS: Add explicit default constructors and assignment operators to Material

pull/1732/head
Turo Lamminen 2018-01-23 19:24:22 +02:00
parent 4d946d9e31
commit 9e7b21f83d
1 changed files with 10 additions and 0 deletions

View File

@ -387,6 +387,16 @@ struct Material
mName = szTemp;
}
Material(const Material &other) = default;
Material(Material &&other) = default;
Material &operator=(const Material &other) = default;
Material &operator=(Material &&other) = default;
~Material() {}
//! Name of the material
std::string mName;
//! Diffuse color of the material