Remove/replace functional_fun.h functions

This commit is contained in:
kannibalox
2024-12-18 12:01:43 -05:00
committed by Jari Sundell
parent 0d1b9e9d55
commit cd9948a4a8
9 changed files with 7 additions and 670 deletions
+2 -3
View File
@@ -37,8 +37,7 @@
#ifndef RTORRENT_RPC_SCGI_H
#define RTORRENT_RPC_SCGI_H
#include <string>
#include <rak/functional_fun.h>
#include <functional>
#include <torrent/event.h>
#include "scgi_task.h"
@@ -51,7 +50,7 @@ namespace rpc {
class lt_cacheline_aligned SCgi : public torrent::Event {
public:
typedef rak::function2<bool, const char*, uint32_t> slot_write;
typedef std::function<bool (const char*, uint32_t)> slot_write;
static const int max_tasks = 100;