Skip to content

Commit

Permalink
MythHDRVideoMetadata: Use default for trivial copy constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-kendall committed Feb 5, 2021
1 parent 2f98010 commit ad71a5e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions mythtv/libs/libmythtv/mythhdrvideometadata.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,6 @@ extern "C" {
* \note The linux kernel structures are aligned with the structures defined
* in the HDMI standards (e.g. CTA-861-G).
*/
MythHDRVideoMetadata::MythHDRVideoMetadata(const MythHDRVideoMetadata& Other)
: MythHDRMetadata(Other)
{
}

void MythHDRVideoMetadata::Update(const AVMasteringDisplayMetadata* Display,
const AVContentLightMetadata* Light)
{
Expand Down
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/mythhdrvideometadata.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class MythHDRVideoMetadata : public MythHDRMetadata
public:
static void Populate(class MythVideoFrame* Frame, struct AVFrame* AvFrame);
MythHDRVideoMetadata() = default;
explicit MythHDRVideoMetadata(const MythHDRVideoMetadata& Other);
explicit MythHDRVideoMetadata(const MythHDRVideoMetadata& Other) = default;

protected:
void Update(const struct AVMasteringDisplayMetadata* Display,
Expand Down

0 comments on commit ad71a5e

Please sign in to comment.