Skip to content

Commit

Permalink
Merge pull request #33 from lsst/tickets/DM-32256
Browse files Browse the repository at this point in the history
[DM-32256] Fix compilation with g++ 11
  • Loading branch information
rra committed Oct 27, 2021
2 parents 85f6b2a + 59bf54f commit 42486dd
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions include/lsst/sphgeom/AngleInterval.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
/// \brief This file defines a class for representing angle intervals.

#include <iosfwd>
#include <limits>

#include "Angle.h"
#include "Interval.h"
Expand Down
1 change: 1 addition & 0 deletions include/lsst/sphgeom/Ellipse.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
/// regions on the unit sphere.

#include <iosfwd>
#include <limits>

#include "Circle.h"
#include "Matrix3d.h"
Expand Down
1 change: 1 addition & 0 deletions include/lsst/sphgeom/Interval1d.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
/// \brief This file defines a class for representing intervals of ℝ.

#include <iosfwd>
#include <limits>

#include "Interval.h"

Expand Down
2 changes: 2 additions & 0 deletions include/lsst/sphgeom/NormalizedAngle.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
/// \file
/// \brief This file declares a class for representing normalized angles.

#include <limits>

#include "Angle.h"


Expand Down
1 change: 1 addition & 0 deletions tests/testBox3d.cc
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
/// \file
/// \brief This file contains tests for the Box class.

#include <limits>
#include <memory>

#include "lsst/sphgeom/Box3d.h"
Expand Down
1 change: 1 addition & 0 deletions tests/testCircle.cc
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
/// \file
/// \brief This file contains tests for the Box class.

#include <limits>
#include <memory>
#include <vector>

Expand Down
1 change: 1 addition & 0 deletions tests/testEllipse.cc
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
/// \file
/// \brief This file contains tests for the Ellipse class.

#include <limits>
#include <memory>
#include <vector>

Expand Down
1 change: 1 addition & 0 deletions tests/testNormalizedAngle.cc
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
/// \file
/// \brief This file contains tests for the Angle class.

#include <limits>
#include <sstream>
#include <string>

Expand Down
3 changes: 3 additions & 0 deletions tests/testVector3d.cc
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@

/// \file
/// \brief This file contains tests for the Vector3d class.

#include <limits>

#include "lsst/sphgeom/Angle.h"
#include "lsst/sphgeom/Vector3d.h"

Expand Down

0 comments on commit 42486dd

Please sign in to comment.