You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Code of this utility is very simple and not required smart pointers.
If you want to change raw pointers to the smart pointer, make a pull request and use the QSharedPointer instead of the std::unique_ptr, because the unique_ptr works only with move semantic and not calculate references count to an object.
In this case, object are passed into constructors other inner objects of main class. So you should be use QSharedPointer.
Would you like to wrap any pointer data members with the class template “std::unique_ptr”?
The text was updated successfully, but these errors were encountered: