textproc/ctpp2: do not use one of the obsolete C++ features
Deriving from the `std::binary_function' base class template was never really needed (it's just some seldom used typedefs) and it had been deprecated since C++11 to be finally removed in C++17.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
PORTNAME= ctpp2
|
||||
PORTVERSION= 2.8.3
|
||||
PORTREVISION= 9
|
||||
PORTREVISION= 10
|
||||
CATEGORIES= textproc devel
|
||||
MASTER_SITES= http://ctpp.havoc.ru/download/
|
||||
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
--- include/CTPP2SyscallFactory.hpp.orig 2012-08-02 07:22:44 UTC
|
||||
+++ include/CTPP2SyscallFactory.hpp
|
||||
@@ -104,8 +104,7 @@ class CTPP2DECL SyscallFactory (private)
|
||||
@struct HandlerRefsSort SyscallFactory.hpp <SyscallFactory.hpp>
|
||||
@brief Case-insensitive sorting functor
|
||||
*/
|
||||
- struct HandlerRefsSort:
|
||||
- public STLW::binary_function<STLW::string, STLW::string, bool>
|
||||
+ struct HandlerRefsSort
|
||||
{
|
||||
/**
|
||||
@brief comparison operator
|
||||
Reference in New Issue
Block a user