Remove some warnings

This commit is contained in:
Joost VandeVondele
2020-09-06 22:13:42 +02:00
committed by nodchip
parent 3a06de298b
commit edbbc1a4df
6 changed files with 27 additions and 27 deletions

View File

@@ -259,7 +259,7 @@ public:
template <typename U> AlignedAllocator(const AlignedAllocator<U>&) {}
T* allocate(std::size_t n) { return (T*)std_aligned_alloc(alignof(T), n * sizeof(T)); }
void deallocate(T* p, std::size_t n) { std_aligned_free(p); }
void deallocate(T* p, std::size_t ) { std_aligned_free(p); }
};
// --------------------