From 9e7b21f83dc0eb1452ae89bbc4f35a76205bd8f8 Mon Sep 17 00:00:00 2001 From: Turo Lamminen Date: Tue, 23 Jan 2018 19:24:22 +0200 Subject: [PATCH] 3DS: Add explicit default constructors and assignment operators to Material --- code/3DSHelper.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/code/3DSHelper.h b/code/3DSHelper.h index 4996650eb..f0ab18e51 100644 --- a/code/3DSHelper.h +++ b/code/3DSHelper.h @@ -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