Skip to content

Commit db81e7a

Browse files
committed
Rearrange includes to match pdal convention
Refer to https://pdal.io/project/conventions.html#include-conventions
1 parent 0fdd590 commit db81e7a

File tree

8 files changed

+16
-12
lines changed

8 files changed

+16
-12
lines changed

source/pdal/pdalc_config.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@
2929

3030
#include "pdalc_config.h"
3131

32-
#include <pdal/pdal_config.hpp>
33-
#include <pdal/util/Utils.hpp>
34-
3532
#include <cstdlib>
3633
#include <cstring>
3734
#include <string>
3835

36+
#include <pdal/pdal_config.hpp>
37+
#include <pdal/util/Utils.hpp>
38+
3939
namespace pdal
4040
{
4141
namespace capi

source/pdal/pdalc_dimtype.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
*****************************************************************************/
2929

3030
#include "pdal/pdalc_dimtype.h"
31+
3132
#include <pdal/DimType.hpp>
3233

3334
namespace pdal

source/pdal/pdalc_pipeline.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,12 @@
2828
*****************************************************************************/
2929

3030
#include "pdalc_pipeline.h"
31-
#include "pdalc_pointviewiterator.h"
31+
32+
#include <string>
3233

3334
#include <pdal/PipelineExecutor.hpp>
3435

35-
#include <string>
36+
#include "pdalc_pointviewiterator.h"
3637

3738
namespace pdal
3839
{

source/pdal/pdalc_pointlayout.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,12 @@
2828
*****************************************************************************/
2929

3030
#include "pdalc_pointlayout.h"
31-
#include "pdalc_dimtype.h"
3231

3332
#include <pdal/DimType.hpp>
3433
#include <pdal/PointLayout.hpp>
3534

35+
#include "pdalc_dimtype.h"
36+
3637
namespace pdal
3738
{
3839
namespace capi

source/pdal/pdalc_pointview.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
*****************************************************************************/
2929

3030
#include "pdalc_pointview.h"
31+
3132
#include <pdal/PointView.hpp>
3233

3334
namespace pdal

tests/pdal/test_pdalc_pointlayout.c.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@
3131
#include <stdio.h>
3232
#include <assert.h>
3333

34-
#include "greatest.h"
35-
3634
#include <pdal/pdalc.h>
3735

36+
#include "greatest.h"
37+
3838
SUITE(test_pdalc_pointlayout);
3939

4040
static PDALPipelinePtr gPipeline = NULL;

tests/pdal/test_pdalc_pointview.c.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@
3131
#include <stdio.h>
3232
#include <assert.h>
3333

34-
#include "greatest.h"
35-
3634
#include <pdal/pdalc.h>
3735

36+
#include "greatest.h"
37+
3838
/// A simple binary tree implementation for int values
3939
struct node
4040
{

tests/pdal/test_pdalc_pointviewiterator.c.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@
3131
#include <stdio.h>
3232
#include <assert.h>
3333

34-
#include "greatest.h"
35-
3634
#include <pdal/pdalc_pipeline.h>
3735
#include <pdal/pdalc_pointview.h>
3836
#include <pdal/pdalc_pointviewiterator.h>
3937

38+
#include "greatest.h"
39+
4040
SUITE(test_pdalc_pointviewiterator);
4141

4242
static PDALPipelinePtr gPipeline = NULL;

0 commit comments

Comments
 (0)