浏览代码

Merge pull request #812 from tgoulart/fix_switch_warning

Fix warning when compiling using -Wswitch-enum
Kim Kulling 9 年之前
父节点
当前提交
e7c3a733b6
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      include/assimp/metadata.h

+ 3 - 0
include/assimp/metadata.h

@@ -177,6 +177,9 @@ struct aiMetadata
                 case AI_AIVECTOR3D:
                     delete static_cast<aiVector3D*>(data);
                     break;
+#ifndef SWIG
+                case FORCE_32BIT:
+#endif
                 default:
                     assert(false);
                     break;