3DS: Add explicit default constructors and assignment operators to Material
parent
4d946d9e31
commit
9e7b21f83d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue