diff --git a/test/eif_dummy_arg_disambiguation.cpp b/test/eif_dummy_arg_disambiguation.cpp index ab65f4f..78346c0 100644 --- a/test/eif_dummy_arg_disambiguation.cpp +++ b/test/eif_dummy_arg_disambiguation.cpp @@ -24,11 +24,11 @@ template struct dummy { template typename enable_if, bool>::type -arithmetic_object(T t, dummy<0> = 0) { return true; } +arithmetic_object(T /*t*/, dummy<0> = 0) { return true; } template typename disable_if, bool>::type -arithmetic_object(T t, dummy<1> = 0) { return false; } +arithmetic_object(T /*t*/, dummy<1> = 0) { return false; } int main() @@ -42,4 +42,3 @@ int main() return boost::report_errors(); } - diff --git a/test/eif_lazy_test.cpp b/test/eif_lazy_test.cpp index 905d0a9..8938a3d 100644 --- a/test/eif_lazy_test.cpp +++ b/test/eif_lazy_test.cpp @@ -60,21 +60,21 @@ namespace A { template typename lazy_enable_if, some_traits >::type - foo(T t) { return true; } + foo(T /*t*/) { return true; } template typename lazy_enable_if_c::value, some_traits >::type - foo2(T t) { return true; } + foo2(T /*t*/) { return true; } } namespace B { template typename lazy_disable_if, make_bool >::type - foo(T t) { return false; } + foo(T /*t*/) { return false; } template typename lazy_disable_if_c::value, make_bool >::type - foo2(T t) { return false; } + foo2(T /*t*/) { return false; } } int main() @@ -95,4 +95,3 @@ int main() return boost::report_errors(); } - diff --git a/test/eif_namespace_disambiguation.cpp b/test/eif_namespace_disambiguation.cpp index d5589ae..fd24a4b 100644 --- a/test/eif_namespace_disambiguation.cpp +++ b/test/eif_namespace_disambiguation.cpp @@ -26,13 +26,13 @@ template struct not_ namespace A { template typename enable_if, bool>::type - arithmetic_object(T t) { return true; } + arithmetic_object(T /*t*/) { return true; } } namespace B { template typename enable_if >, bool>::type - arithmetic_object(T t) { return false; } + arithmetic_object(T /*t*/) { return false; } } int main() @@ -47,4 +47,3 @@ int main() return boost::report_errors(); } - diff --git a/test/eif_no_disambiguation.cpp b/test/eif_no_disambiguation.cpp index 3853cbf..37afb43 100644 --- a/test/eif_no_disambiguation.cpp +++ b/test/eif_no_disambiguation.cpp @@ -25,11 +25,11 @@ template struct not_ template typename enable_if, bool>::type -arithmetic_object(T t) { return true; } +arithmetic_object(T /*t*/) { return true; } template typename enable_if >, bool>::type -arithmetic_object(T t) { return false; } +arithmetic_object(T /*t*/) { return false; } int main() @@ -43,4 +43,3 @@ int main() return boost::report_errors(); } -