Skip to content

Commit

Permalink
Change "undefined" to be an explicitly deleted function.
Browse files Browse the repository at this point in the history
  • Loading branch information
abellgithub committed Jul 15, 2020
1 parent a860ac3 commit bfb88df
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions pdal/Stage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -263,11 +263,11 @@ PointViewSet Stage::execute(PointTableRef table, PointViewSet& views)
// through the stage.
ready(table);

//ABELL - Filter out points based on "where" clause.

// Filter out points based on "where" clause.
PointViewSet keeps, skips;
l_prerun(views, keeps, skips);
prerun(keeps);

for (auto const& it : keeps)
{
StageRunnerPtr runner(new StageRunner(this, it));
Expand All @@ -290,7 +290,10 @@ PointViewSet Stage::execute(PointTableRef table, PointViewSet& views)
v->setSpatialReference(srs);
outViews.insert(temp.begin(), temp.end());
}

// Add skipped views back into the list of views.
outViews.insert(skips.begin(), skips.end());

done(table);
stopLogging();
m_pointCount = 0;
Expand Down
2 changes: 1 addition & 1 deletion pdal/Stage.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ class PDAL_DLL Stage
std::string m_optionFile;

Stage& operator=(const Stage&) = delete;
Stage(const Stage&); // not implemented
Stage(const Stage&) = delete;

void setupLog();
void handleOptions();
Expand Down

0 comments on commit bfb88df

Please sign in to comment.