Skip to content

Commit

Permalink
MythHDRMetadata: clang-tidy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-kendall committed Feb 7, 2021
1 parent c65f63d commit cfde5f0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
10 changes: 0 additions & 10 deletions mythtv/libs/libmythui/mythhdr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,6 @@
/*! \class MythHDRMetadata
* \brief Encapsulates HDR metadata conformant with Static Metadata Type 1 per CTA-861-G Final.
*/
MythHDRMetadata::MythHDRMetadata(const MythHDRMetadata &Other)
: m_displayPrimaries(Other.m_displayPrimaries),
m_whitePoint(Other.m_whitePoint),
m_maxMasteringLuminance(Other.m_maxMasteringLuminance),
m_minMasteringLuminance(Other.m_minMasteringLuminance),
m_maxContentLightLevel(Other.m_maxContentLightLevel),
m_maxFrameAverageLightLevel(Other.m_maxFrameAverageLightLevel)
{
}

bool MythHDRMetadata::Equals(MythHDRMetadata* Other)
{
return Other &&
Expand Down
2 changes: 1 addition & 1 deletion mythtv/libs/libmythui/mythhdr.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class MUI_PUBLIC MythHDRMetadata
{
public:
MythHDRMetadata() = default;
explicit MythHDRMetadata(const MythHDRMetadata& Other);
explicit MythHDRMetadata(const MythHDRMetadata& Other) = default;
bool Equals(MythHDRMetadata* Other);

MythPrimariesUInt16 m_displayPrimaries {{{ 0 }}};
Expand Down

0 comments on commit cfde5f0

Please sign in to comment.