Ignore warnings in some tests; fix ambiguity in ArrayWrapper test (#1712)

This commit is contained in:
Andreas Süßenbach
2023-10-24 18:27:35 +02:00
committed by GitHub
parent 9c15a1e1ef
commit de5821703f
4 changed files with 22 additions and 7 deletions

View File

@@ -27,6 +27,19 @@ static std::string EngineName = "Vulkan.hpp";
template <typename T>
class MyAllocator : public std::allocator<T>
{
public:
MyAllocator() = default;
template <class U>
MyAllocator( const MyAllocator<U> & /*unused*/ )
{
}
template <class U>
struct rebind
{
using other = MyAllocator<U>;
};
};
vk::UniqueDescriptorSetLayout createDescriptorSetLayoutUnique( vk::Device const & device,