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

config: provide coverage for user defined ENTT_ID_TYPE in the std namespace

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

+ 2 - 0
src/entt/config/config.h

@@ -25,6 +25,8 @@
 #ifndef ENTT_ID_TYPE
 #    include <cstdint>
 #    define ENTT_ID_TYPE std::uint32_t
+#else
+#    include <cstdint> // provides coverage for types in the std namespace
 #endif
 
 #ifndef ENTT_SPARSE_PAGE