Fix some test warnings.

And turn on warnings as errors in Travis.
This commit is contained in:
Daniel James
2016-08-17 12:08:16 +01:00
parent cae72eec2f
commit 9debeadee7
11 changed files with 21 additions and 21 deletions

View File

@@ -386,7 +386,7 @@ namespace minimal
}
template <class Y>
pointer allocate(size_type n, const_ptr<Y> u)
pointer allocate(size_type n, const_ptr<Y>)
{
return pointer(static_cast<T*>(::operator new(n * sizeof(T))));
}
@@ -462,7 +462,7 @@ namespace minimal
}
template <class Y>
T* allocate(std::size_t n, const_ptr<Y> u) {
T* allocate(std::size_t n, const_ptr<Y>) {
return static_cast<T*>(::operator new(n * sizeof(T)));
}