Skip to content

Commit

Permalink
nalu: fix clang tidy warning for trivial destructor
Browse files Browse the repository at this point in the history
  • Loading branch information
bradh authored and farindk committed Sep 2, 2024
1 parent 4c3fd7e commit f1fac55
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions libheif/plugins/nalu_utils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,6 @@ NalUnit::NalUnit()
nal_data_size = 0;
}

NalUnit::~NalUnit()
{

}

bool NalUnit::set_data(const unsigned char* in_data, int n)
{
nal_data_ptr = in_data;
Expand Down
2 changes: 1 addition & 1 deletion libheif/plugins/nalu_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class NalUnit
{
public:
NalUnit();
~NalUnit();
~NalUnit() = default;
bool set_data(const unsigned char* in_data, int n);
int size() const { return nal_data_size; }
int unit_type() const { return nal_unit_type; }
Expand Down

0 comments on commit f1fac55

Please sign in to comment.