소스 검색

Update D3MFImporter.cpp

Use static cast instead of c-cast.
Kim Kulling 7 년 전
부모
커밋
d0edb94208
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      code/D3MFImporter.cpp

+ 1 - 1
code/D3MFImporter.cpp

@@ -282,7 +282,7 @@ private:
                     MatIdArray = it->second;
                 }
             }
-            MatIdArray.push_back( (unsigned int)newMatIdx );
+            MatIdArray.push_back( static_cast<unsigned int>( newMatIdx ) );
             mMatId2MatArray[ mActiveMatGroup ] = MatIdArray;
         }