Skip to content

Commit

Permalink
Add using namespace std to a few places where this was expected but n…
Browse files Browse the repository at this point in the history
…ot specified.
  • Loading branch information
Chris Birkhold committed Nov 22, 2024
1 parent faf6197 commit ff5d5d2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/unit_tests/FGInitialConditionTest.h
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,8 @@ class FGInitialConditionTest : public CxxTest::TestSuite
}

void testBodyVelocity() {
using namespace std;

FGFDMExec fdmex;
FGInitialCondition ic(&fdmex);

Expand Down
2 changes: 2 additions & 0 deletions tests/unit_tests/FGLocationTest.h
Original file line number Diff line number Diff line change
Expand Up @@ -656,6 +656,8 @@ class FGLocationTest : public CxxTest::TestSuite

void testNavigationOnOblateEarth()
{
using namespace std;

const double a = 20925646.32546; // WGS84 semimajor axis length in feet
const double b = 20855486.5951; // WGS84 semiminor axis length in feet
JSBSim::FGLocation l;
Expand Down

0 comments on commit ff5d5d2

Please sign in to comment.