[mythtv-commits] [MythTV/mythtv] efb962: clazy: Use faster lookup function to get time in m...

David Hampton noreply at github.com
Sun Feb 4 14:56:01 UTC 2024


  Branch: refs/heads/master
  Home:   https://github.com/MythTV/mythtv
  Commit: efb962a7e3229c4f5a433a94ac6f9e1f2954e5bc
      https://github.com/MythTV/mythtv/commit/efb962a7e3229c4f5a433a94ac6f9e1f2954e5bc
  Author: David Hampton <mythtv at love2code.net>
  Date:   2024-02-04 (Sun, 04 Feb 2024)

  Changed paths:
    M mythtv/libs/libmythtv/io/mythmediabuffer.cpp

  Log Message:
  -----------
  clazy: Use faster lookup function to get time in milliseconds.


  Commit: ae9d140228643885ea3f7cae45e5f456521b089b
      https://github.com/MythTV/mythtv/commit/ae9d140228643885ea3f7cae45e5f456521b089b
  Author: David Hampton <mythtv at love2code.net>
  Date:   2024-02-04 (Sun, 04 Feb 2024)

  Changed paths:
    M mythplugins/mythweather/mythweather/sourceManager.cpp
    M mythtv/libs/libmyth/mythmediamonitor.cpp
    M mythtv/libs/libmythbase/http/mythhttpcommon.cpp
    M mythtv/libs/libmythbase/http/mythhttpencoding.cpp
    M mythtv/libs/libmythbase/http/mythhttpserver.cpp
    M mythtv/libs/libmythbase/programinfo.cpp
    M mythtv/libs/libmythmetadata/test/test_lyrics/test_lyrics.cpp
    M mythtv/libs/libmythtv/Bluray/mythbdbuffer.cpp
    M mythtv/libs/libmythtv/recorders/satiputils.cpp
    M mythtv/libs/libmythtv/videosource.cpp
    M mythtv/libs/libmythui/mythuibuttonlist.cpp
    M mythtv/libs/libmythui/mythuithemecache.cpp
    M mythtv/libs/libmythui/vulkan/mythrendervulkan.cpp
    M mythtv/libs/libmythupnp/httprequest.cpp
    M mythtv/programs/mythbackend/services/dvr.cpp
    M mythtv/programs/mythbackend/services/myth.cpp
    M mythtv/programs/mythbackend/services/serviceUtil.cpp
    M mythtv/programs/mythbackend/servicesv2/v2dvr.cpp
    M mythtv/programs/mythbackend/servicesv2/v2myth.cpp
    M mythtv/programs/mythbackend/servicesv2/v2serviceUtil.cpp
    M mythtv/programs/mythbackend/servicesv2/v2video.cpp

  Log Message:
  -----------
  clazy: Prevent Qt containers from detaching in range-loops.

Mark the container as constant to prevent it from detaching (and
possibly performing a deep copy).  Previously the suggestion was to
add qAsConst(), but Qt is now recommending std::as_const() with C++17
code.


Compare: https://github.com/MythTV/mythtv/compare/fb7b91cc2d65...ae9d14022864


More information about the mythtv-commits mailing list