浏览代码

Add missing diagnostic push

Robert Ubiñas 4 年之前
父节点
当前提交
69c152d7c1
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      code/AssetLib/glTF/glTFExporter.cpp

+ 1 - 0
code/AssetLib/glTF/glTFExporter.cpp

@@ -526,6 +526,7 @@ void ExportSkin(Asset& mAsset, const aiMesh* aimesh, Ref<Mesh>& meshRef, Ref<Buf
 
 #if defined(__has_warning)
 #if __has_warning("-Wunused-but-set-variable")
+#pragma GCC diagnostic push
 #pragma GCC diagnostic ignored "-Wunused-but-set-variable"
 #endif
 #endif