ddiakopoulos / tinyply

:earth_africa: C++11 ply 3d mesh format importer & exporter
598 stars 118 forks source link

fail to build on Windows VS2013 x64 #23

Closed knowthyselfcn closed 4 years ago

knowthyselfcn commented 6 years ago

Error 1 error C2280: 'std::unique_ptr<uint8_t,tinyply::Buffer::delete_array> &std::unique_ptr<uint8_t,tinyply::Buffer::delete_array>::operator =(const std::unique_ptr<uint8_t,tinyply::Buffer::delete_array> &)' : attempting to reference a deleted function tinyply\source\tinyply.cpp 390 1 tinyply

ddiakopoulos commented 6 years ago

@knowthyselfcn VS2013 isn't a compiler target for me. Looks like Buffer might need a move and assignment constructor added. I'd be happy to accept a PR to fix this but won't have time to look at it myself.