diff options
author | Roman Smrž <roman.smrz@seznam.cz> | 2021-02-17 22:15:27 +0100 |
---|---|---|
committer | Roman Smrž <roman.smrz@seznam.cz> | 2021-02-19 19:40:58 +0100 |
commit | 5dc467310ddebeae8dcb6262f5499f37382711ab (patch) | |
tree | 77dc6c6fd0abec84246aaacfbf5a8d471081e2ae /src/network.h | |
parent | d42ed33bb9112d80ae9adc926b7bd818a4d35f8d (diff) |
WatchedHead object allowing to stop watching Head
Diffstat (limited to 'src/network.h')
-rw-r--r-- | src/network.h | 2 |
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; |