ASE: Add explicit default constructors and assignment operators to Material

pull/1732/head
Turo Lamminen 2018-01-23 19:33:50 +02:00
parent 9e7b21f83d
commit 024aade208
1 changed files with 10 additions and 0 deletions

View File

@ -73,6 +73,16 @@ struct Material : public D3DS::Material
, bNeed (false) , bNeed (false)
{} {}
Material(const Material &other) = default;
Material(Material &&other) = default;
Material &operator=(const Material &other) = default;
Material &operator=(Material &&other) = default;
~Material() {}
//! Contains all sub materials of this material //! Contains all sub materials of this material
std::vector<Material> avSubMaterials; std::vector<Material> avSubMaterials;