From: Rosen Penev Date: Thu, 19 May 2022 01:16:25 +0000 (-0700) Subject: clang-tidy: use auto X-Git-Tag: release-1.7.0~13^2~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3794c4f9d9f8e8a26629b49b911bc844cad7a0b8;p=libmatroska clang-tidy: use auto Found with modernize-use-auto Signed-off-by: Rosen Penev --- diff --git a/matroska/KaxTracks.h b/matroska/KaxTracks.h index b874039..d820bce 100644 --- a/matroska/KaxTracks.h +++ b/matroska/KaxTracks.h @@ -55,7 +55,7 @@ DECLARE_MKX_MASTER(KaxTrackEntry) \note lacing set by default */ inline bool LacingEnabled() const { - KaxTrackFlagLacing * myLacing = static_cast(FindFirstElt(EBML_INFO(KaxTrackFlagLacing))); + auto myLacing = static_cast(FindFirstElt(EBML_INFO(KaxTrackFlagLacing))); return((myLacing == nullptr) || (uint8(*myLacing) != 0)); }