Skip to content
Snippets Groups Projects
Commit a43183ed authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

FieldMapBrBz.cpp: clang is picky about default arguments on default constructor

parent e094049f
No related branches found
No related tags found
2 merge requests!329Master into deathvalley,!316FieldMapBrBz.cpp: clang is picky about default arguments on default constructor
......@@ -19,7 +19,7 @@ using namespace dd4hep;
class FieldMapBrBz : public dd4hep::CartesianField::Object
{
public:
FieldMapBrBz(const std::string &field_type);
FieldMapBrBz(const std::string &field_type = "magnetic");
void Configure(double rmin, double rmax, double rstep, double zmin, double zmax, double zstep);
void LoadMap(const std::string &map_file, double scale);
void GetIndices(double r, double z, int &ir, int &iz, double &dr, double &dz);
......@@ -35,7 +35,7 @@ private:
};
// constructor
FieldMapBrBz::FieldMapBrBz(const std::string &field_type = "magnetic")
FieldMapBrBz::FieldMapBrBz(const std::string &field_type)
{
std::string ftype = field_type;
for (auto &c : ftype) { c = tolower(c); }
......
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