summaryrefslogtreecommitdiffstats
path: root/lanbrowsing/lisa
diff options
context:
space:
mode:
Diffstat (limited to 'lanbrowsing/lisa')
-rw-r--r--lanbrowsing/lisa/netmanager.h2
-rw-r--r--lanbrowsing/lisa/netscanner.h2
2 files changed, 2 insertions, 2 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)
{
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)
{