diff --git a/file/include/pathSegment.h b/file/include/pathSegment.h index bafde0b..c57670f 100644 --- a/file/include/pathSegment.h +++ b/file/include/pathSegment.h @@ -10,9 +10,9 @@ namespace germanairlinesva_recording { /* - * UINT32 | UINT16 | UINT16 | COORDINATES + * UINT32 | UINT16 | UINT16 | POINT * -------+----------+-------------+------------ - * TIME | ALTITUDE | GROUNDSPEED | POINT + * TIME | ALTITUDE | GROUNDSPEED | COORDINATES */ class PathSegment { diff --git a/simdata/include/gate.h b/simdata/include/gate.h index 8e08f31..e89e22b 100644 --- a/simdata/include/gate.h +++ b/simdata/include/gate.h @@ -56,13 +56,11 @@ namespace germanairlinesva_simdata return str.str(); } - friend std::ostream &operator<<(std::ostream &os, const Gate &gate); + friend inline std::ostream &operator<<(std::ostream &os, const Gate &gate) + { + return os << gate.to_string(); + } }; - - inline std::ostream &operator<<(std::ostream &os, const Gate &gate) - { - return os << gate.to_string(); - } } // namespace germanairlinesva_simdata #endif \ No newline at end of file diff --git a/simdata/include/runway.h b/simdata/include/runway.h index 664eccb..58d2163 100644 --- a/simdata/include/runway.h +++ b/simdata/include/runway.h @@ -69,13 +69,14 @@ namespace germanairlinesva_simdata return str.str(); } - friend std::ostream &operator<<(std::ostream &os, const Runway &runway); + friend inline std::ostream &operator<<(std::ostream &os, + const Runway &runway) + { + return os << runway.to_string(); + } }; - inline std::ostream &operator<<(std::ostream &os, const Runway &runway) - { - return os << runway.to_string(); - } + } // namespace germanairlinesva_simdata #endif \ No newline at end of file