Browse Source

Sub: correct compilation under clang++ on MacOSX

mission-4.1.18
Peter Barker 7 years ago committed by Randy Mackay
parent
commit
767f81265b
  1. 4
      libraries/SITL/SIM_Submarine.h

4
libraries/SITL/SIM_Submarine.h

@ -45,7 +45,9 @@ public: @@ -45,7 +45,9 @@ public:
protected:
const float water_density = 1023.6; // (kg/m^3) At a temperature of 25 °C, salinity of 35 g/kg and 1 atm pressure
const struct {
const class FrameConfig {
public:
FrameConfig() = default;
float length = 0.457; // x direction (meters)
float width = 0.338; // y direction (meters)
float height = 0.254; // z direction (meters)

Loading…
Cancel
Save