summaryrefslogtreecommitdiffstats
path: root/lanbrowsing/lisa/netscanner.h
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2024-04-12 15:59:43 +0200
committerSlávek Banko <[email protected]>2024-04-12 16:16:55 +0200
commit6d93398d01f28b9047e9b9559a7075da36f3a36f (patch)
tree0ec40496f7bfa8eb78fbe1dd7153a63234366d49 /lanbrowsing/lisa/netscanner.h
parente8c580931238437743f90556b941980a54272184 (diff)
downloadtdenetwork-6d93398d01f28b9047e9b9559a7075da36f3a36f.tar.gz
tdenetwork-6d93398d01f28b9047e9b9559a7075da36f3a36f.zip
Fix compatibility with C++17.
Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit a9978cb1f6ccf8e9189a98a5dd66a345f2c3d548)
Diffstat (limited to 'lanbrowsing/lisa/netscanner.h')
-rw-r--r--lanbrowsing/lisa/netscanner.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lanbrowsing/lisa/netscanner.h b/lanbrowsing/lisa/netscanner.h
index a93bf3ee..7a973ab5 100644
--- a/lanbrowsing/lisa/netscanner.h
+++ b/lanbrowsing/lisa/netscanner.h
@@ -88,7 +88,7 @@ class NetScanner
int hostAlreadyInList(int ip, std::list<Node>* nodes);
void removeUnnamedHosts(std::list<Node>* nodes);
- struct is_unnamed_node : std::unary_function<Node&, bool>
+ struct is_unnamed_node : std::function<bool(Node&)>
{
bool operator() (Node& n)
{