enginmanap / limonEngine

3D FPS game engine with full dynamic lighting and shadows
http://www.limonengine.com
GNU Lesser General Public License v3.0
580 stars 57 forks source link

Improve exception safety with smart pointers #117

Open elfring opened 4 years ago

elfring commented 4 years ago

Would you like to wrap any pointer data members with the class template “std::unique_ptr”?

Update candidates:

enginmanap commented 4 years ago

When I started the project, it was limited to c++11. Thats why the old parts are using raw pointers while the new ones use smart pointers. Your point is valid, and I want to migrate to smart pointers.

But I have very limited time at the moment and new functionality is more attractive when I have an hour or half, so I can't say it will be done fast.