replaced boost smart pointers with c++11 smart pointers
This commit is contained in:
@@ -51,7 +51,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#include "BaseImporter.h"
|
||||
#include "fast_atof.h"
|
||||
#include "ProcessHelper.h"
|
||||
#include <boost/scoped_array.hpp>
|
||||
#include <memory>
|
||||
|
||||
// CRT headers
|
||||
#include <stdarg.h>
|
||||
@@ -463,7 +463,7 @@ void ValidateDSProcess::Validate( const aiMesh* pMesh)
|
||||
ReportError("aiMesh::mBones is NULL (aiMesh::mNumBones is %i)",
|
||||
pMesh->mNumBones);
|
||||
}
|
||||
boost::scoped_array<float> afSum(NULL);
|
||||
std::unique_ptr<float[]> afSum(nullptr);
|
||||
if (pMesh->mNumVertices)
|
||||
{
|
||||
afSum.reset(new float[pMesh->mNumVertices]);
|
||||
|
||||
Reference in New Issue
Block a user