Skip to content

Commit

Permalink
fix building in C++23 language mode (#1122)
Browse files Browse the repository at this point in the history
Thanks to @BwL1289
  • Loading branch information
gorloffslava authored Jul 2, 2024
1 parent 3db005a commit d3b22f1
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions include/geos/constants.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ typedef __int64 int64;
#include <cmath>
#include <limits>
#include <cinttypes>
#include <cstddef> // for std::size_t

namespace geos {

Expand Down
1 change: 1 addition & 0 deletions include/geos/coverage/CoverageRingEdges.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

#include <geos/geom/Coordinate.h>
#include <geos/geom/LineSegment.h>
#include <geos/coverage/CoverageEdge.h> // to materialize CoverageEdge

#include <set>
#include <map>
Expand Down
1 change: 1 addition & 0 deletions include/geos/geom/Geometry.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
#include <geos/geom/Envelope.h>
#include <geos/geom/Dimension.h> // for Dimension::DimensionType
#include <geos/geom/GeometryComponentFilter.h> // for inheritance
#include <geos/geom/CoordinateSequence.h> // to materialize CoordinateSequence

#include <algorithm>
#include <string>
Expand Down
1 change: 1 addition & 0 deletions include/geos/operation/buffer/BufferOp.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@

#include <geos/export.h>
#include <geos/operation/buffer/BufferParameters.h> // for enum values
#include <geos/geom/Geometry.h> // to materialize Geometry

#include <geos/util/TopologyException.h> // for composition

Expand Down
1 change: 1 addition & 0 deletions include/geos/operation/buffer/OffsetCurveSection.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#pragma once

#include <geos/export.h>
#include <geos/geom/CoordinateSequence.h> // to materialize CoordinateSequence
#include <memory>
#include <vector>

Expand Down

0 comments on commit d3b22f1

Please sign in to comment.