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:
@@ -44,12 +44,12 @@ private:
|
||||
|
||||
public:
|
||||
static void staticCtor();
|
||||
static shared_ptr<Entity> newEntity(const wstring& id, Level *level);
|
||||
static shared_ptr<Entity> loadStatic(CompoundTag *tag, Level *level);
|
||||
static shared_ptr<Entity> newById(int id, Level *level);
|
||||
static shared_ptr<Entity> newByEnumType(eINSTANCEOF eType, Level *level);
|
||||
static int getId(shared_ptr<Entity> entity);
|
||||
static wstring getEncodeId(shared_ptr<Entity> entity);
|
||||
static std::shared_ptr<Entity> newEntity(const wstring& id, Level *level);
|
||||
static std::shared_ptr<Entity> loadStatic(CompoundTag *tag, Level *level);
|
||||
static std::shared_ptr<Entity> newById(int id, Level *level);
|
||||
static std::shared_ptr<Entity> newByEnumType(eINSTANCEOF eType, Level *level);
|
||||
static int getId(std::shared_ptr<Entity> entity);
|
||||
static wstring getEncodeId(std::shared_ptr<Entity> entity);
|
||||
static int getId(const wstring &encodeId);
|
||||
static wstring getEncodeId(int entityIoValue);
|
||||
static int getNameId(int entityIoValue);
|
||||
|
||||
Reference in New Issue
Block a user