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

@@ -66,8 +66,8 @@ struct swap_base : public test::exception_base
{}
struct data_type {
data_type(T const& x, T const& y)
: x(x), y(y) {}
data_type(T const& x_, T const& y_)
: x(x_), y(y_) {}
T x, y;
};