Skip to content
Snippets Groups Projects
Commit be83b020 authored by Tom Fischer's avatar Tom Fischer
Browse files

[FileIO] Removed parameter name from argument list.

The parameter is part of the inteface.
parent 3b8657d8
No related branches found
No related tags found
No related merge requests found
...@@ -29,17 +29,13 @@ void GMSHFixedMeshDensity::init(std::vector<GeoLib::Point const*> const& vec) ...@@ -29,17 +29,13 @@ void GMSHFixedMeshDensity::init(std::vector<GeoLib::Point const*> const& vec)
(void)(vec); (void)(vec);
} }
double GMSHFixedMeshDensity::getMeshDensityAtPoint(GeoLib::Point const*const pnt) const double GMSHFixedMeshDensity::getMeshDensityAtPoint(GeoLib::Point const*const) const
{ {
// to avoid a warning here:
(void)(const_cast<GeoLib::Point const*>(pnt));
return _mesh_density; return _mesh_density;
} }
double GMSHFixedMeshDensity::getMeshDensityAtStation(GeoLib::Point const*const pnt) const double GMSHFixedMeshDensity::getMeshDensityAtStation(GeoLib::Point const*const) const
{ {
// to avoid a warning here:
(void)(const_cast<GeoLib::Point const*>(pnt));
return _mesh_density; return _mesh_density;
} }
......
...@@ -31,17 +31,13 @@ public: ...@@ -31,17 +31,13 @@ public:
(void)(vec); (void)(vec);
} }
double getMeshDensityAtPoint(GeoLib::Point const*const pnt) const double getMeshDensityAtPoint(GeoLib::Point const*const) const
{ {
// to avoid a warning here:
(void)(pnt);
return 0.0; return 0.0;
} }
double getMeshDensityAtStation(GeoLib::Point const*const pnt) const double getMeshDensityAtStation(GeoLib::Point const*const) const
{ {
// to avoid a warning here:
(void)(pnt);
return 0.0; return 0.0;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment