{
bone_vector::iterator theIterator;
bone_vector::iterator theIterator2;
theIterator2 = 0; //严重性 代码 说明 项目 文件 行 禁止显示状态
//错误 C2440 “ = ”: 无法从“std::_Vector_iterator<std::_Vector_val<std::_Simple_types<bone>>>”转换为“bone *”
for (theIterator = bonevec.begin(); theIterator != bonevec.end();
theIterator++)
{
if (0 == strncmp(theIterator->name, name , 4 ))
{
theIterator2=theIterator;
break;
}
}
return (theIterator2); //严重性 代码 说明 项目 文件 行 禁止显示状态
//错误 C2440 “ = ”: 无法从“std::_Vector_iterator<std::_Vector_val<std::_Simple_types<bone>>>”转换为“bone *”
int skelecton::reset()
{
bone_vector::iterator theIterator;
bone *pbone = 0;
for (theIterator = bonevec.begin(); theIterator != bonevec.end();
theIterator++)
{
pbone = theIterator;
//严重性 代码
说明 项目
文件 行 禁止显示状态
//错误
C2440 “=”: 无法从“std::_Vector_iterator<std::_Vector_val<std::_Simple_types<bone>>>”转换为“bone *”
pbone->x =0 ;
pbone->y =0 ;
pbone->is_marked = 0;
}
return 0;
}