浏览代码

added void to aiGetErrorString's args

byteblob 8 年之前
父节点
当前提交
c21c70ade6
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      include/assimp/cimport.h

+ 1 - 1
include/assimp/cimport.h

@@ -337,7 +337,7 @@ ASSIMP_API void aiReleaseImport(
  * import process. NULL if there was no error. There can't be an error if you
  * got a non-NULL #aiScene from #aiImportFile/#aiImportFileEx/#aiApplyPostProcessing.
  */
-ASSIMP_API const char* aiGetErrorString();
+ASSIMP_API const char* aiGetErrorString(void);
 
 // --------------------------------------------------------------------------------
 /** Returns whether a given file extension is supported by ASSIMP