Fix some test warnings.

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

No files matched your search

+1 -1
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_);