[mythtv-commits] [MythTV/mythtv] 09a3ad: tidy: Fix some "modernize type traits" warnings.

David Hampton noreply at github.com
Thu Oct 5 18:29:54 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: 09a3ad48230f561ec04fc7c00a9e241df9070a8a
      https://github.com/MythTV/mythtv/commit/09a3ad48230f561ec04fc7c00a9e241df9070a8a
  Author: David Hampton <mythtv at love2code.net>
  Date:   2023-10-05 (Thu, 05 Oct 2023)

  Changed paths:
    M mythtv/libs/libmythbase/http/mythhttpresponse.h
    M mythtv/libs/libmythtv/playgroup.h
    M mythtv/libs/libmythtv/videosource.cpp
    M mythtv/libs/libmythui/mythuibuttonlist.h
    M mythtv/libs/libmythui/mythuispinbox.h

  Log Message:
  -----------
  tidy: Fix some "modernize type traits" warnings.

Changes automatically made by clang-tidy.

https://clang.llvm.org/extra/clang-tidy/checks/modernize/type-traits.html


  Commit: 3bd91b0156ccb3c11d219908f267050eec8bdccb
      https://github.com/MythTV/mythtv/commit/3bd91b0156ccb3c11d219908f267050eec8bdccb
  Author: David Hampton <mythtv at love2code.net>
  Date:   2023-10-05 (Thu, 05 Oct 2023)

  Changed paths:
    M .clang-tidy
    M mythtv/libs/libmythbase/http/mythhttpservice.h

  Log Message:
  -----------
  tidy: Fix some more "modernize type traits" warnings.

These changes were missed by clang-tidy and were made by hand.

https://clang.llvm.org/extra/clang-tidy/checks/modernize/type-traits.html


  Commit: d21f82622c046a8573c6f5604ce64b653bc184c8
      https://github.com/MythTV/mythtv/commit/d21f82622c046a8573c6f5604ce64b653bc184c8
  Author: David Hampton <mythtv at love2code.net>
  Date:   2023-10-05 (Thu, 05 Oct 2023)

  Changed paths:
    M mythtv/programs/mythbackend/test/test_recordingextender/test_recordingextender.cpp

  Log Message:
  -----------
  tidy: Fix a couple of potential memory leaks in testing code.

Replace manual memory management with a c++ unique pointer.

https://clang.llvm.org/docs/analyzer/checkers.html#cplusplus-newdeleteleaks


Compare: https://github.com/MythTV/mythtv/compare/9501f93452ed...d21f82622c04


More information about the mythtv-commits mailing list