Skip to content

Commit

Permalink
Clustering: Remove old-style header guards
Browse files Browse the repository at this point in the history
  • Loading branch information
dbaston committed Nov 8, 2024
1 parent d710207 commit 52f36cb
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 33 deletions.
6 changes: 1 addition & 5 deletions include/geos/operation/cluster/AbstractClusterFinder.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,8 @@
*
**********************************************************************/

#ifndef GEOS_OPERATION_CLUSTER_ABSTRACTCLUSTERFINDER
#define GEOS_OPERATION_CLUSTER_ABSTRACTCLUSTERFINDER
#pragma once

#include <functional>
#include <memory>
#include <vector>

Expand Down Expand Up @@ -132,5 +130,3 @@ class GEOS_DLL AbstractClusterFinder {
}
}
}

#endif
5 changes: 1 addition & 4 deletions include/geos/operation/cluster/Clusters.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
*
**********************************************************************/

#ifndef GEOS_OPERATION_CLUSTER_CLUSTERS
#define GEOS_OPERATION_CLUSTER_CLUSTERS
#pragma once

#include <geos/export.h>
#include <limits>
Expand Down Expand Up @@ -68,5 +67,3 @@ class GEOS_DLL Clusters {
}
}
}

#endif
5 changes: 1 addition & 4 deletions include/geos/operation/cluster/DBSCANClusterFinder.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
*
**********************************************************************/

#ifndef GEOS_OPERATION_CLUSTER_DBSCANCLUSTERFINDER
#define GEOS_OPERATION_CLUSTER_DBSCANCLUSTERFINDER
#pragma once

#include <geos/operation/cluster/AbstractClusterFinder.h>
#include <geos/geom/Geometry.h>
Expand Down Expand Up @@ -55,5 +54,3 @@ class GEOS_DLL DBSCANClusterFinder : public AbstractClusterFinder {
}
}
}

#endif
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
*
**********************************************************************/

#ifndef GEOS_OPERATION_CLUSTER_ENVELOPEDISTANCECLUSTERFINDER
#define GEOS_OPERATION_CLUSTER_ENVELOPEDISTANCECLUSTERFINDER
#pragma once

#include <geos/operation/cluster/AbstractClusterFinder.h>
#include <geos/geom/Envelope.h>
Expand Down Expand Up @@ -49,5 +48,3 @@ class GEOS_DLL EnvelopeDistanceClusterFinder : public AbstractClusterFinder {
}
}
}

#endif
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
*
**********************************************************************/

#ifndef GEOS_OPERATION_CLUSTER_ENVELOPEINTERSECTSCLUSTERFINDER
#define GEOS_OPERATION_CLUSTER_ENVELOPEINTERSECTSCLUSTERFINDER
#pragma once

#include <geos/operation/cluster/AbstractClusterFinder.h>

Expand All @@ -40,5 +39,3 @@ class GEOS_DLL EnvelopeIntersectsClusterFinder : public AbstractClusterFinder {
}
}
}

#endif
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
*
**********************************************************************/

#ifndef GEOS_OPERATION_CLUSTER_GEOMETRYDISTANCECLUSTERFINDER
#define GEOS_OPERATION_CLUSTER_GEOMETRYDISTANCECLUSTERFINDER
#pragma once

#include <geos/operation/cluster/AbstractClusterFinder.h>
#include <geos/geom/prep/PreparedGeometry.h>
Expand Down Expand Up @@ -55,5 +54,3 @@ class GEOS_DLL GeometryDistanceClusterFinder : public AbstractClusterFinder {
}
}
}

#endif
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
*
**********************************************************************/

#ifndef GEOS_OPERATION_CLUSTER_GEOMETRYINTERSECTSCLUSTERFINDER
#define GEOS_OPERATION_CLUSTER_GEOMETRYINTERSECTSCLUSTERFINDER
#pragma once

#include <geos/operation/cluster/AbstractClusterFinder.h>
#include <geos/geom/Geometry.h>
Expand Down Expand Up @@ -49,5 +48,3 @@ class GEOS_DLL GeometryIntersectsClusterFinder : public AbstractClusterFinder {
}
}
}

#endif
5 changes: 1 addition & 4 deletions include/geos/operation/cluster/UnionFind.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
*
**********************************************************************/

#ifndef GEOS_OPERATION_CLUSTER_UNIONFIND
#define GEOS_OPERATION_CLUSTER_UNIONFIND
#pragma once

#include <algorithm>
#include <numeric>
Expand Down Expand Up @@ -133,5 +132,3 @@ class GEOS_DLL UnionFind {
}
}
}

#endif

0 comments on commit 52f36cb

Please sign in to comment.