summaryrefslogtreecommitdiff
path: root/Lib/octave/octcontainer.swg
diff options
context:
space:
mode:
authorAnthony Heading <ajrh@ajrh.net>2016-12-29 00:56:46 -0500
committerAnthony Heading <ajrh@ajrh.net>2016-12-29 00:56:46 -0500
commit1871acd4bce5368a519f73dfefd4195b2e652098 (patch)
treee472700b50ed1b51fa19b9a87e8a12f1510a3a28 /Lib/octave/octcontainer.swg
parent5919e9c3c7f699339fad1e659b4009e2d279f2cd (diff)
downloadswig-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.swg2
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