ports/textproc/ctpp2/files/patch-include_CTPP2SyscallFactory.hpp
Alexey Dokuchaev 465dc9cfc6 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.
2024-10-18 14:30:32 +00:00

12 lines
440 B
C++

--- 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