Add std::move to createResult

This commit is contained in:
John Rosasco 2021-04-12 11:40:41 -07:00
parent 188329cc4f
commit d790fb8c76

View File

@ -15921,7 +15921,7 @@ namespace std
throwResultException( result, message );
}
#endif
return ResultValue<T>( result, data );
return ResultValue<T>( result, std::move( data ) );
}
#ifndef VULKAN_HPP_NO_SMART_HANDLE