summaryrefslogtreecommitdiff
path: root/src/wieldmesh.h
diff options
context:
space:
mode:
authorLoic Blot <loic.blot@unix-experience.fr>2017-04-10 08:05:03 +0200
committerLoic Blot <loic.blot@unix-experience.fr>2017-04-10 08:05:03 +0200
commit0419552c923d7088215cf711657d6223e1b8569a (patch)
tree1019ad10e643c98e9452b724a8e7a4079a8c180b /src/wieldmesh.h
parent0a8834608d21998bd05b899bd91ddc2196762926 (diff)
downloadminetest-0419552c923d7088215cf711657d6223e1b8569a.tar.gz
minetest-0419552c923d7088215cf711657d6223e1b8569a.tar.bz2
minetest-0419552c923d7088215cf711657d6223e1b8569a.zip
Clang format: fix LINT on old PR which doesn't have LINT enabled
Diffstat (limited to 'src/wieldmesh.h')
-rw-r--r--src/wieldmesh.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/wieldmesh.h b/src/wieldmesh.h
index 94edb1de6..dee18ca23 100644
--- a/src/wieldmesh.h
+++ b/src/wieldmesh.h
@@ -30,18 +30,15 @@ struct TileSpec;
struct ItemMesh
{
- scene::IMesh* mesh;
+ scene::IMesh *mesh;
/*!
* Stores the color of each mesh buffer.
* If the boolean is true, the color is fixed, else
* palettes can modify it.
*/
- std::vector<std::pair<bool, video::SColor> > buffer_colors;
+ std::vector<std::pair<bool, video::SColor>> buffer_colors;
- ItemMesh():
- mesh(NULL),
- buffer_colors()
- {}
+ ItemMesh() : mesh(NULL), buffer_colors() {}
};
/*