Skip to content

Commit

Permalink
Fix std::string construction
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Apr 9, 2023
1 parent fc0f53b commit 01c319f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion external/pdal_wrench/density.cpp
Expand Up @@ -117,7 +117,7 @@ std::unique_ptr<PipelineManager> Density::pipeline(ParallelJobInfo *tile) const
// TODO: "writers.gdal: Requested driver 'COG' does not support file creation.""
// writer_opts.add(pdal::Option("gdaldriver", "COG"));

pdal::StageCreationOptions opts{ tile->outputFilename, "", nullptr, writer_opts, nullptr };
pdal::StageCreationOptions opts{ tile->outputFilename, "", nullptr, writer_opts, "" };
Stage& w = manager->makeWriter( opts );
for (Stage *stage : readers)
{
Expand Down
2 changes: 1 addition & 1 deletion external/pdal_wrench/to_raster.cpp
Expand Up @@ -128,7 +128,7 @@ static std::unique_ptr<PipelineManager> pipeline(ParallelJobInfo *tile, double r
// TODO: "writers.gdal: Requested driver 'COG' does not support file creation.""
// writer_opts.add(pdal::Option("gdaldriver", "COG"));

pdal::StageCreationOptions opts{ tile->outputFilename, "", nullptr, writer_opts, nullptr };
pdal::StageCreationOptions opts{ tile->outputFilename, "", nullptr, writer_opts, "" };
Stage& w = manager->makeWriter( opts );
for (Stage *stage : readers)
{
Expand Down

0 comments on commit 01c319f

Please sign in to comment.