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
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue