ASE: Delete Bone default constructor

pull/1745/head
Turo Lamminen 2018-01-27 17:43:04 +02:00
parent e75f7a5964
commit 1836b00f51
1 changed files with 1 additions and 9 deletions

View File

@ -168,15 +168,7 @@ struct Face : public FaceWithSmoothingGroup
struct Bone
{
//! Constructor
Bone()
{
static int iCnt = 0;
// Generate a default name for the bone
char szTemp[128];
::ai_snprintf(szTemp, 128, "UNNAMED_%i",iCnt++);
mName = szTemp;
}
Bone() = delete;
//! Construction from an existing name
explicit Bone( const std::string& name)