Просмотр исходного кода

build system: suppress wrong warning

Michele Caini 5 лет назад
Родитель
Сommit
f561cf9c8f
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/entt/config/config.h

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

@@ -48,7 +48,7 @@
 #else
 #   include <type_traits>
 #   // 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