1. 23 Nov, 2021 1 commit
  2. 12 Nov, 2021 1 commit
    • Rosen Penev's avatar
      treewide: replace lock_guard with scoped_lock · 4e0e4c00
      Rosen Penev authored
      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: 's avatarRosen Penev <rosenp@gmail.com>
      4e0e4c00
  3. 13 Oct, 2021 1 commit
  4. 26 Aug, 2021 1 commit
  5. 01 Jan, 2021 1 commit
  6. 13 Mar, 2020 1 commit
    • Rosen Penev's avatar
      replace stddef.h with cstddef · 2db8bcc3
      Rosen Penev authored
      The former is deprecated with C++14. The standard says both are the same:
      
      The contents and meaning of the header<cstddef>are the same as the C
      standard library header<stddef.h>,except that it does not declare the type
      wchar_t, that it also declares the type byte and its associated
      operations (21.2.5), and as noted in 21.2.3 and 21.2.4.
      Signed-off-by: 's avatarRosen Penev <rosenp@gmail.com>
      2db8bcc3
  7. 12 Mar, 2020 1 commit
  8. 16 Feb, 2020 1 commit
  9. 18 Jan, 2020 1 commit
  10. 18 Dec, 2019 1 commit
  11. 05 Jul, 2019 1 commit
  12. 31 May, 2019 1 commit