diff options
Diffstat (limited to 'src/wieldmesh.h')
-rw-r--r-- | src/wieldmesh.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wieldmesh.h b/src/wieldmesh.h index 51ba20536..828625075 100644 --- a/src/wieldmesh.h +++ b/src/wieldmesh.h @@ -44,7 +44,7 @@ struct ItemPartColor */ video::SColor color = 0; - ItemPartColor() {} + ItemPartColor() = default; ItemPartColor(bool override, video::SColor color) : override_base(override), color(color) @@ -65,7 +65,7 @@ struct ItemMesh */ bool needs_shading = true; - ItemMesh() {} + ItemMesh() = default; }; /* @@ -135,5 +135,5 @@ scene::SMesh *getExtrudedMesh(ITextureSource *tsrc, const std::string &imagename * \param colors returns the colors of the mesh buffers in the mesh. */ void postProcessNodeMesh(scene::SMesh *mesh, const ContentFeatures &f, bool use_shaders, - bool set_material, video::E_MATERIAL_TYPE *mattype, + bool set_material, const video::E_MATERIAL_TYPE *mattype, std::vector<ItemPartColor> *colors); |