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

Loading…
Cancel
Save