mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-06 17:41:04 +00:00
Remove std::shared_ptr use in TileLayer (#10090)
This commit is contained in:
parent
b1ff04e06d
commit
c6422e0872
3 changed files with 15 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue