1.1 --- a/libfsserver/lib/files/file_notification.cc Sat Sep 11 00:16:10 2021 +0200
1.2 +++ b/libfsserver/lib/files/file_notification.cc Sat Sep 11 01:32:34 2021 +0200
1.3 @@ -28,27 +28,4 @@
1.4 {
1.5 }
1.6
1.7 -/* Accounting methods. */
1.8 -
1.9 -/* Attach a user of this object. */
1.10 -
1.11 -void FileNotification::attach()
1.12 -{
1.13 - std::lock_guard<std::mutex> guard(_lock);
1.14 -
1.15 - _attached += 1;
1.16 -}
1.17 -
1.18 -/* Detach a user of this object. */
1.19 -
1.20 -unsigned int FileNotification::detach()
1.21 -{
1.22 - std::lock_guard<std::mutex> guard(_lock);
1.23 -
1.24 - if (_attached)
1.25 - _attached -= 1;
1.26 -
1.27 - return _attached;
1.28 -}
1.29 -
1.30 // vim: tabstop=4 expandtab shiftwidth=4