fixed errors with clang
This commit is contained in:
@@ -704,7 +704,7 @@ public:
|
||||
template<typename... Component>
|
||||
std::enable_if_t<(sizeof...(Component) > 1), std::tuple<const Component &...>>
|
||||
get(entity_type entity) const ENTT_NOEXCEPT {
|
||||
return { get<Component>(entity)... };
|
||||
return std::tuple<const Component &...>{get<Component>(entity)...};
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -724,7 +724,7 @@ public:
|
||||
template<typename... Component>
|
||||
std::enable_if_t<(sizeof...(Component) > 1), std::tuple<Component &...>>
|
||||
get(entity_type entity) ENTT_NOEXCEPT {
|
||||
return { get<Component>(entity)... };
|
||||
return std::tuple<Component &...>{get<Component>(entity)...};
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user