Skip to content

Commit

Permalink
Don't inline clear().
Browse files Browse the repository at this point in the history
  • Loading branch information
abellgithub committed Jul 13, 2020
1 parent 5b2e0ba commit fb79a95
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 5 additions & 0 deletions io/PcdHeader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@
namespace pdal
{

PcdHeader::PcdHeader()
{
clear();
}

void PcdHeader::clear()
{
m_version = PcdVersion::PCD_V6;
Expand Down
3 changes: 1 addition & 2 deletions io/PcdHeader.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,7 @@ typedef std::vector<PcdField> PcdFieldList;

struct PcdHeader
{
PcdHeader()
{ clear(); }
PcdHeader();

void clear();

Expand Down

0 comments on commit fb79a95

Please sign in to comment.