Skip to content

Commit

Permalink
Remove unneeded namespace aliases
Browse files Browse the repository at this point in the history
In this files we have `using namespace celestia` so with older g++ there
is a conflict between two namespaces.
  • Loading branch information
375gnu committed Oct 27, 2023
1 parent aaf22f1 commit d3c5346
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions src/celengine/planetgrid.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ using namespace celmath;
using namespace celestia;
using celestia::render::LineRenderer;

namespace astro = celestia::astro;

LineRenderer *PlanetographicGrid::latitudeRenderer = nullptr;
LineRenderer *PlanetographicGrid::equatorRenderer = nullptr;
LineRenderer *PlanetographicGrid::longitudeRenderer = nullptr;
Expand Down
2 changes: 0 additions & 2 deletions src/celengine/render.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,6 @@ using namespace celestia::engine;
using namespace celestia::render;
using celestia::util::GetLogger;

namespace astro = celestia::astro;

#define NEAR_DIST 0.5f
#define FAR_DIST 1.0e9f

Expand Down
2 changes: 0 additions & 2 deletions src/celestia/celestiacore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,6 @@ using namespace celestia::engine;
using namespace celestia::scripts;
using namespace celestia::util;

namespace astro = celestia::astro;

static const int DragThreshold = 3;

// Perhaps you'll want to put this stuff in configuration file.
Expand Down

0 comments on commit d3c5346

Please sign in to comment.