Assigning std::shared_ptr

In my code, I had ordinary pointer that was dynamically allocated class Texture { //code… SDL_Texture* m_texture; }; I had Init() function from Texture class allocated SDL_Texture*, and …