Browse Source

Fix a test for the new msvc in vs 2022

Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
pull/1641/head
Dimitar Dobrev 4 years ago
parent
commit
540c16576f
  1. 10
      tests/NamespacesDerived/NamespacesDerived.h

10
tests/NamespacesDerived/NamespacesDerived.h

@ -94,13 +94,9 @@ class CustomAllocator
public: public:
typedef T value_type; typedef T value_type;
T* allocate(size_t cnt, const void* = 0) T* allocate(size_t cnt, const void* = 0) { return 0; }
{ void deallocate(T* p, size_t cnt) {}
return 0; bool operator==(const CustomAllocator&) { return true; }
}
void deallocate(T* p, size_t cnt)
{
}
}; };
class DLL_API Ignored class DLL_API Ignored

Loading…
Cancel
Save