Skip to content
Snippets Groups Projects
Commit 465dc9cf authored by Alexey Dokuchaev's avatar Alexey Dokuchaev
Browse files

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.
parent e25d62fc
No related branches found
No related tags found
No related merge requests found
PORTNAME= ctpp2
PORTVERSION= 2.8.3
PORTREVISION= 9
PORTREVISION= 10
CATEGORIES= textproc devel
MASTER_SITES= http://ctpp.havoc.ru/download/
......
--- 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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment