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

@@ -148,7 +148,7 @@ namespace test
return ptr;
}
pointer allocate(size_type n, void const* u)
pointer allocate(size_type n, void const*)
{
pointer ptr(static_cast<T*>(::operator new(n * sizeof(T))));
detail::tracker.track_allocate((void*) ptr, n, sizeof(T), tag_);