Replace usage of std::forward_as_tuple by std::tie. (#501)

This commit is contained in:
Andreas Süßenbach
2020-02-03 15:55:06 +01:00
committed by GitHub
parent 8c9e881dfe
commit 4d53dac22b
2 changed files with 2 additions and 2 deletions

View File

@@ -535,7 +535,7 @@ namespace VULKAN_HPP_NAMESPACE
template<typename ClassTypeA, typename ClassTypeB, typename ...ClassTypes>
std::tuple<ClassTypeA&, ClassTypeB&, ClassTypes&...> get()
{
return std::forward_as_tuple(get<ClassTypeA>(), get<ClassTypeB>(), get<ClassTypes>()...);
return std::tie(get<ClassTypeA>(), get<ClassTypeB>(), get<ClassTypes>()...);
}
template<typename ClassType>