summaryrefslogtreecommitdiff
path: root/src/network.h
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2021-02-17 22:15:27 +0100
committerRoman Smrž <roman.smrz@seznam.cz>2021-02-19 19:40:58 +0100
commit5dc467310ddebeae8dcb6262f5499f37382711ab (patch)
tree77dc6c6fd0abec84246aaacfbf5a8d471081e2ae /src/network.h
parentd42ed33bb9112d80ae9adc926b7bd818a4d35f8d (diff)
WatchedHead object allowing to stop watching Head
Diffstat (limited to 'src/network.h')
-rw-r--r--src/network.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network.h b/src/network.h
index e22d453..6ebd60c 100644
--- a/src/network.h
+++ b/src/network.h
@@ -157,8 +157,8 @@ struct Server::Priv : enable_shared_from_this<Server::Priv>
condition_variable announceCondvar;
bool finish = false;
- Head<LocalState> localHead;
Identity self;
+ WatchedHead<LocalState> localHead;
vector<unique_ptr<Service>> services;
thread threadListen;