]> git.lizzy.rs Git - irrlicht.git/blobdiff - include/SMaterial.h
Sort out two -Wdeprecated-copy warnings
[irrlicht.git] / include / SMaterial.h
index 55be84abc1ca3237d4c6c7111eef0d50cb60d5c3..43dadb6e25128932754bf542a1012c6968959b9c 100644 (file)
@@ -301,16 +301,6 @@ namespace video
                        FogEnable(false), NormalizeNormals(false), UseMipMaps(true)\r
                { }\r
 \r
-               //! Copy constructor\r
-               /** \param other Material to copy from. */\r
-               SMaterial(const SMaterial& other)\r
-               {\r
-                       // These pointers are checked during assignment\r
-                       for (u32 i=0; i<MATERIAL_MAX_TEXTURES; ++i)\r
-                               TextureLayer[i].TextureMatrix = 0;\r
-                       *this = other;\r
-               }\r
-\r
                //! Texture layer array.\r
                SMaterialLayer TextureLayer[MATERIAL_MAX_TEXTURES];\r
 \r