mpd/src/neighbor
Rosen Penev 4e0e4c00bf treewide: replace lock_guard with scoped_lock
SonarLint reports the latter to be better:

std::scoped_lock basically provides the same feature as std::lock_guard,
but is more generic: It can lock several mutexes at the same time, with a
deadlock prevention mechanism (see {rule:cpp:S5524}). The equivalent code
to perform simultaneous locking with std::lock_guard is significantly more
complex. Therefore, it is simpler to use std::scoped_lock all the time,
even when locking only one mutex (there will be no performance impact).

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-11-11 17:13:03 -08:00
..
plugins treewide: replace lock_guard with scoped_lock 2021-11-11 17:13:03 -08:00
Explorer.hxx clang-tidy: default virtual destructors 2021-05-30 22:46:46 -07:00
Glue.cxx neighbor/Glue: remove unreachable "throw" statement 2021-10-19 13:40:11 +02:00
Glue.hxx neighbor/Glue: mention failed plugin name in error message 2021-10-19 13:29:00 +02:00
Info.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
Listener.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
meson.build neighbor/meson.build: disable if -Ddatabase=false 2019-11-04 14:18:48 +01:00
NeighborPlugin.hxx copyright year 2021 2021-01-01 19:54:28 +01:00
Registry.cxx clang-tidy: mark a bunch of variables constexpr 2021-01-16 18:35:31 -08:00
Registry.hxx more [[gnu::...]] attributes 2021-10-13 12:07:05 +02:00