Browse Source

Fix warning when compiling using -Wswitch-enum

Thiago Goulart 9 years ago
parent
commit
17f0e09bd1
1 changed files with 3 additions and 0 deletions
  1. 3 0
      include/assimp/metadata.h

+ 3 - 0
include/assimp/metadata.h

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