Refactor
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user