mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +00:00
Replace usage of std::forward_as_tuple by std::tie. (#501)
This commit is contained in:
parent
8c9e881dfe
commit
4d53dac22b
@ -5057,7 +5057,7 @@ int main(int argc, char **argv)
|
||||
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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user