Remove inheritance from std::unary_function and std::binary_function,
they are deprecated in C++11 and already removed in Visual C++ '15' running with /std:c++latest http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2010/n3145.html
This commit is contained in:
parent
5919e9c3c7
commit
1871acd4bc
4 changed files with 9 additions and 9 deletions
|
|
@ -38,7 +38,7 @@
|
|||
|
||||
namespace swig {
|
||||
template < class T >
|
||||
struct yield : public std::unary_function< T, bool >
|
||||
struct yield
|
||||
{
|
||||
bool
|
||||
operator()( const T& v ) const
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue