1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-12 16:15:20 +02:00

Remove std::shared_ptr use in TileLayer (#10090)

This commit is contained in:
sfan5
2020-07-10 12:11:44 +02:00
committed by GitHub
parent b1ff04e06d
commit c6422e0872
3 changed files with 15 additions and 4 deletions

View File

@@ -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