diff options
author | Slávek Banko <[email protected]> | 2024-04-12 15:59:43 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2024-04-12 15:59:43 +0200 |
commit | a9978cb1f6ccf8e9189a98a5dd66a345f2c3d548 (patch) | |
tree | 3f81b332c27efeeb9cb616ac1b05c1fa96703879 /lanbrowsing/lisa/netmanager.h | |
parent | dba94977c0f5cf4a1a91e05431012401da3ada3b (diff) | |
download | tdenetwork-a9978cb1f6ccf8e9189a98a5dd66a345f2c3d548.tar.gz tdenetwork-a9978cb1f6ccf8e9189a98a5dd66a345f2c3d548.zip |
Fix compatibility with C++17.
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'lanbrowsing/lisa/netmanager.h')
-rw-r--r-- | lanbrowsing/lisa/netmanager.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lanbrowsing/lisa/netmanager.h b/lanbrowsing/lisa/netmanager.h index dee5fb27..0a56e03f 100644 --- a/lanbrowsing/lisa/netmanager.h +++ b/lanbrowsing/lisa/netmanager.h @@ -77,7 +77,7 @@ class NetManager:public NetScanner int m_increasedRefreshTime; int m_broadcastAddress; std::list<Client> clients; - struct client_is_done : std::unary_function<Client, bool> + struct client_is_done : std::function<bool(Client)> { bool operator() (Client& c) { |