浏览代码

ASE: Delete Material default constructor

Turo Lamminen 7 年之前
父节点
当前提交
f2ec3eeeb8
共有 1 个文件被更改,包括 2 次插入5 次删除
  1. 2 5
      code/ASEParser.h

+ 2 - 5
code/ASEParser.h

@@ -67,11 +67,8 @@ using namespace D3DS;
 /** Helper structure representing an ASE material */
 struct Material : public D3DS::Material
 {
-    //! Default constructor
-    Material()
-    : pcInstance(NULL)
-    , bNeed (false)
-    {}
+    //! Default constructor has been deleted
+    Material() = delete;
 
 
     //! Constructor with explicit name