瀏覽代碼

build system: suppress wrong warning

Michele Caini 5 年之前
父節點
當前提交
f561cf9c8f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/entt/config/config.h

+ 1 - 1
src/entt/config/config.h

@@ -48,7 +48,7 @@
 #else
 #else
 #   include <type_traits>
 #   include <type_traits>
 #   // sfinae-friendly definition
 #   // sfinae-friendly definition
-#   define ENTT_IS_EMPTY(Type) (std::is_empty_v<Type>, false)
+#   define ENTT_IS_EMPTY(Type) (void(std::is_empty_v<Type>), false)
 #endif
 #endif