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

+2 -2
View File
@@ -314,7 +314,7 @@ namespace exception
//return pointer(static_cast<T*>(::operator new(n * sizeof(T))));
}
pointer allocate(size_type n, void const* u)
pointer allocate(size_type n, void const*)
{
T* ptr = 0;
UNORDERED_SCOPE(allocator::allocate(size_type, const_pointer)) {
@@ -494,7 +494,7 @@ namespace exception
//return pointer(static_cast<T*>(::operator new(n * sizeof(T))));
}
pointer allocate(size_type n, void const* u)
pointer allocate(size_type n, void const*)
{
T* ptr = 0;
UNORDERED_SCOPE(allocator2::allocate(size_type, const_pointer)) {