summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorlhofhansl <lhofhansl@yahoo.com>2018-08-08 17:53:06 +0400
committerLoïc Blot <nerzhul@users.noreply.github.com>2018-08-08 15:53:06 +0200
commit3a95d760e97d16fcc499aee8df1be4fe583c8168 (patch)
tree31bc2609883e4347902be29ad80ff5c57efdf59c /src/client
parent8d68b2cd210fea3cd852c648464c8bdd9cac02a7 (diff)
downloadminetest-3a95d760e97d16fcc499aee8df1be4fe583c8168.tar.gz
minetest-3a95d760e97d16fcc499aee8df1be4fe583c8168.tar.bz2
minetest-3a95d760e97d16fcc499aee8df1be4fe583c8168.zip
Some minor Fastface optimizations. (#7628)
Diffstat (limited to 'src/client')
-rw-r--r--src/client/tile.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/client/tile.h b/src/client/tile.h
index b1f6d6ac9..143c67298 100644
--- a/src/client/tile.h
+++ b/src/client/tile.h
@@ -313,10 +313,7 @@ struct TileLayer
*/
struct TileSpec
{
- TileSpec() {
- for (auto &layer : layers)
- layer = TileLayer();
- }
+ TileSpec() = default;
/*!
* Returns true if this tile can be merged with the other tile.