فهرست منبع

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 */
 /** Helper structure representing an ASE material */
 struct Material : public D3DS::Material
 struct Material : public D3DS::Material
 {
 {
-    //! Default constructor
-    Material()
-    : pcInstance(NULL)
-    , bNeed (false)
-    {}
+    //! Default constructor has been deleted
+    Material() = delete;
 
 
 
 
     //! Constructor with explicit name
     //! Constructor with explicit name