shared_ptr -> std::shared_ptr
This is one of the first commits in a plan to remove all `using namespace std;` lines in the entire codebase as it is considered anti-pattern today.
This commit is contained in:
@@ -5,11 +5,11 @@
|
||||
class RiverMixerLayer : public Layer
|
||||
{
|
||||
private:
|
||||
shared_ptr<Layer>biomes;
|
||||
shared_ptr<Layer>rivers;
|
||||
std::shared_ptr<Layer>biomes;
|
||||
std::shared_ptr<Layer>rivers;
|
||||
|
||||
public:
|
||||
RiverMixerLayer(int64_t seed, shared_ptr<Layer>biomes, shared_ptr<Layer>rivers);
|
||||
RiverMixerLayer(int64_t seed, std::shared_ptr<Layer>biomes, std::shared_ptr<Layer>rivers);
|
||||
|
||||
virtual void init(int64_t seed);
|
||||
virtual intArray getArea(int xo, int yo, int w, int h);
|
||||
|
||||
Reference in New Issue
Block a user