Searched hist:"5751 f354d83b823c02254f923d840a4198b4d373" (Results 1 – 2 of 2) sorted by relevance
/glogg/glogg/src/ |
H A D | watchtowerlist.h | 5751f354d83b823c02254f923d840a4198b4d373 Thu Jun 14 08:22:41 UTC 2018 Alexander Hirsch <alexander.hirsch@gin.de> Improve ObservedFileList::heartBeat_
Instead of just being a shared_ptr with a dummy value, we store the this-pointer in it, which makes the closure in addWatchedDirectory smaller since we can use the weak_ptr in favor of additionally passing in the ObservedFileList-pointer. As a bonus, this may make the intent of the heartBeat_ more clear.
|
/glogg/src/ |
H A D | watchtowerlist.h | 5751f354d83b823c02254f923d840a4198b4d373 Thu Jun 14 08:22:41 UTC 2018 Alexander Hirsch <alexander.hirsch@gin.de> Improve ObservedFileList::heartBeat_
Instead of just being a shared_ptr with a dummy value, we store the this-pointer in it, which makes the closure in addWatchedDirectory smaller since we can use the weak_ptr in favor of additionally passing in the ObservedFileList-pointer. As a bonus, this may make the intent of the heartBeat_ more clear.
|