Skip to content

Commit

Permalink
Implicit deletes and move ctor to CPP
Browse files Browse the repository at this point in the history
  • Loading branch information
chambbj committed Sep 24, 2019
1 parent 014e519 commit f3eccb6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
4 changes: 4 additions & 0 deletions filters/DBSCANFilter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,10 @@ std::string DBSCANFilter::getName() const
return s_info.name;
}

DBSCANFilter::DBSCANFilter() : Filter()
{
}

void DBSCANFilter::addArgs(ProgramArgs& args)
{
args.add("min_points", "Min points per cluster", m_minPoints,
Expand Down
10 changes: 4 additions & 6 deletions filters/DBSCANFilter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,10 @@ class ProgramArgs;
class PDAL_DLL DBSCANFilter : public Filter
{
public:
DBSCANFilter() : Filter()
{
}
DBSCANFilter();

DBSCANFilter& operator=(const DBSCANFilter&) = delete;
DBSCANFilter(const DBSCANFilter&) = delete;

std::string getName() const;

Expand All @@ -63,9 +64,6 @@ class PDAL_DLL DBSCANFilter : public Filter
virtual void addDimensions(PointLayoutPtr layout);
virtual void prepared(PointTableRef table);
virtual void filter(PointView& view);

DBSCANFilter& operator=(const DBSCANFilter&); // not implemented
DBSCANFilter(const DBSCANFilter&); // not implemented
};

} // namespace pdal

0 comments on commit f3eccb6

Please sign in to comment.