splinter-build / splinter

A series of patches (one per branch) on top of the Ninja project's codebase. Updated periodically.
Apache License 2.0
6 stars 1 forks source link

Don't use new, new[], delete or delete[]. #23

Open shahzadlone opened 5 years ago

shahzadlone commented 5 years ago

Yes, this can be achieved!

Instead of new use make_unique or make_shared.

Since we are using smart pointers we will not need delete, or delete[].

This ties in with: https://github.com/splinter-build/splinter/issues/22