Skip to content

Commit 6db7bb3

Browse files
committed
Fix return type of PDALLoadPipeline
The returned type is now PDALPipelinePtr instead of PDALPipelinePtr *.
1 parent af7d6a5 commit 6db7bb3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/pdal/test_pdalc_utils.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ char *PDALReadPipelineJson(const char *path)
6161
return json;
6262
}
6363

64-
PDALPipelinePtr *PDALLoadPipeline(const char *path)
64+
PDALPipelinePtr PDALLoadPipeline(const char *path)
6565
{
66-
PDALPipelinePtr *pipeline = NULL;
66+
PDALPipelinePtr pipeline = NULL;
6767
char *json = PDALReadPipelineJson(path);
6868

6969
if (json)

tests/pdal/test_pdalc_utils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,4 @@ char *PDALReadPipelineJson(const char *path);
5050
* @param path The path to the PDAL pipeline JSON file
5151
* @return The loaded PDAL pipeline
5252
*/
53-
PDALPipelinePtr *PDALLoadPipeline(const char *path);
53+
PDALPipelinePtr PDALLoadPipeline(const char *path);

0 commit comments

Comments
 (0)