Replaced boost::shared_array with std::unique_ptr.
Note: this could also be done with std::shared_ptr but would require a custom deleter or std::default_delete for array types (see also: https://stackoverflow.com/a/13062069). Also, std::unique_ptr supports operator[] for array types.
Please register or sign in to comment