Fix unit test compiler warnings

This commit is contained in:
Brad Chase
2017-08-14 16:44:18 -04:00
committed by Nik Bougalis
parent be1f734845
commit a02a469b20
5 changed files with 20 additions and 13 deletions

View File

@@ -142,6 +142,13 @@ public:
return true;
}
template <class U>
bool operator!= (AllocT <U> const& o) const
{
return !(*this == o);
}
T* allocate (std::size_t n, T const* = 0)
{
return static_cast <T*> (