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:
@@ -23,7 +23,7 @@ public:
|
||||
void renderGuiItem(Font *font, Textures *textures,ItemInstance *item, int x, int y);
|
||||
void RenderItem();
|
||||
void SetIcon(int iPad, int iId,int iAuxVal, int iCount, int iScale, unsigned int uiAlpha,bool bDecorations,BOOL bShow, bool isFoil);
|
||||
void SetIcon(int iPad, shared_ptr<ItemInstance> item, int iScale, unsigned int uiAlpha,bool bDecorations, BOOL bShow=TRUE);
|
||||
void SetIcon(int iPad, std::shared_ptr<ItemInstance> item, int iScale, unsigned int uiAlpha,bool bDecorations, BOOL bShow=TRUE);
|
||||
|
||||
protected:
|
||||
|
||||
@@ -38,7 +38,7 @@ protected:
|
||||
HRESULT OnRender(XUIMessageRender *pRenderData, BOOL &rfHandled);
|
||||
|
||||
private:
|
||||
shared_ptr<ItemInstance> m_item;
|
||||
std::shared_ptr<ItemInstance> m_item;
|
||||
BOOL m_bDirty;
|
||||
INT m_iPassThroughDataAssociation;
|
||||
INT m_iPassThroughIdAssociation;
|
||||
|
||||
Reference in New Issue
Block a user