소스 검색

Update types.h

Kim Kulling 4 년 전
부모
커밋
11ee9d3673
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      include/assimp/types.h

+ 1 - 1
include/assimp/types.h

@@ -305,7 +305,7 @@ struct aiString {
 
     /** Copy a const char* to the aiString */
     void Set(const char *sz) {
-        const ai_int32 len = (ai_uint32)::strlen(sz);
+        ai_int32 len = (ai_uint32)::strlen(sz);
         if (len > (ai_int32)MAXLEN - 1) {
             len = (ai_int32) MAXLEN - 1;
         }