From 17f0e09bd1bc54444c901fc40b128fbb18a567d7 Mon Sep 17 00:00:00 2001 From: Thiago Goulart Date: Wed, 2 Mar 2016 00:07:17 -0800 Subject: [PATCH] Fix warning when compiling using -Wswitch-enum --- include/assimp/metadata.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/assimp/metadata.h b/include/assimp/metadata.h index 47a8392a0..814d89272 100644 --- a/include/assimp/metadata.h +++ b/include/assimp/metadata.h @@ -177,6 +177,9 @@ struct aiMetadata case AI_AIVECTOR3D: delete static_cast(data); break; +#ifndef SWIG + case FORCE_32BIT: +#endif default: assert(false); break;