diff options
author | sfan5 <sfan5@live.de> | 2020-07-10 12:11:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-10 12:11:44 +0200 |
commit | c6422e087257d661a30ee2cd281ccec91f2f90ca (patch) | |
tree | 8845e2f5d136a38a553d9d759adcfa5a847f7c9e /src/client | |
parent | b1ff04e06da531dc52f6ee91e2967b39743033e6 (diff) | |
download | minetest-c6422e087257d661a30ee2cd281ccec91f2f90ca.tar.gz minetest-c6422e087257d661a30ee2cd281ccec91f2f90ca.tar.bz2 minetest-c6422e087257d661a30ee2cd281ccec91f2f90ca.zip |
Remove std::shared_ptr use in TileLayer (#10090)
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/tile.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client/tile.h b/src/client/tile.h index 52e0a2b2b..e1d6c348f 100644 --- a/src/client/tile.h +++ b/src/client/tile.h @@ -25,7 +25,6 @@ with this program; if not, write to the Free Software Foundation, Inc., #include <string> #include <vector> #include <SMaterial.h> -#include <memory> #include "util/numeric.h" #include "config.h" @@ -284,7 +283,7 @@ struct TileLayer //! If true, the tile has its own color. bool has_color = false; - std::shared_ptr<std::vector<FrameSpec>> frames = nullptr; + std::vector<FrameSpec> *frames = nullptr; /*! * The color of the tile, or if the tile does not own |