forked from boostorg/core
Fix unused parameter 't' warnings in eif_*.cpp
This commit is contained in:
1 parent
9d1b59ec6c
commit
309a6bb797
4 files changed
+10
-14
No files matched your search
@@ -26,13 +26,13 @@ template<class T> struct not_
|
||||
namespace A {
|
||||
template<class T>
|
||||
typename enable_if<is_arithmetic<T>, bool>::type
|
||||
arithmetic_object(T t) { return true; }
|
||||
arithmetic_object(T /*t*/) { return true; }
|
||||
}
|
||||
|
||||
namespace B {
|
||||
template<class T>
|
||||
typename enable_if<not_<is_arithmetic<T> >, 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();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user