From 024aade20861a1399aaab9755bdda6df3b56dc77 Mon Sep 17 00:00:00 2001 From: Turo Lamminen Date: Tue, 23 Jan 2018 19:33:50 +0200 Subject: [PATCH] ASE: Add explicit default constructors and assignment operators to Material --- code/ASEParser.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/code/ASEParser.h b/code/ASEParser.h index dda487547..4e2d6f7ef 100644 --- a/code/ASEParser.h +++ b/code/ASEParser.h @@ -73,6 +73,16 @@ struct Material : public D3DS::Material , 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 std::vector avSubMaterials;