diff options
author | Anthony Heading <ajrh@ajrh.net> | 2016-12-29 00:56:46 -0500 |
---|---|---|
committer | Anthony Heading <ajrh@ajrh.net> | 2016-12-29 00:56:46 -0500 |
commit | 1871acd4bce5368a519f73dfefd4195b2e652098 (patch) | |
tree | e472700b50ed1b51fa19b9a87e8a12f1510a3a28 /Lib/octave/octcontainer.swg | |
parent | 5919e9c3c7f699339fad1e659b4009e2d279f2cd (diff) | |
download | swig-1871acd4bce5368a519f73dfefd4195b2e652098.tar.gz |
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
Diffstat (limited to 'Lib/octave/octcontainer.swg')
-rw-r--r-- | Lib/octave/octcontainer.swg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/octave/octcontainer.swg b/Lib/octave/octcontainer.swg index af58f3aaa..771edbde0 100644 --- a/Lib/octave/octcontainer.swg +++ b/Lib/octave/octcontainer.swg @@ -68,7 +68,7 @@ namespace swig { namespace std { template <> - struct less <octave_value>: public binary_function<octave_value, octave_value, bool> + struct less <octave_value> { bool operator()(const octave_value& v, const octave_value& w) const |