Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Need substitute SDL's shared pointer with the one from c++11 standard and std::auto_ptr with std::unique_ptr #2455

Closed
HSavynetska opened this issue Jul 30, 2018 · 1 comment
Labels

Comments

@HSavynetska
Copy link

Bug Report

Need substitute SDL's shared pointer with the one from c++11 standard and std::auto_ptr with std::unique_ptr

Description

SDL has own implementation of shared pointer. Since this one is not quite efficient and in some cases danger to use, SDL has to use shared pointer from standard library.

Required activities:

  1. Substitute utils::SharedPtr with std::shared_ptr
  2. Use std::make_shared instead of SDL's analogue as well as explicit new operator
  3. Substitute std::auto_ptr with std::unique_ptr
  4. Check if it compiles fine for QNX 6.5
OS & Version Information
  • OS/Version:
  • SDL Core Version:
  • Testing Against:
@jacobkeeler
Copy link
Contributor

Already done in #2391

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants