Skip to content
Snippets Groups Projects
Commit edc9a140 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

rm Coordinate copy c'tor, not needed

parent 6e637ddc
No related branches found
No related tags found
1 merge request!1842handle coordinate name and unit in new class Coordinate
...@@ -51,8 +51,6 @@ Coordinate::Coordinate(const std::string& label) ...@@ -51,8 +51,6 @@ Coordinate::Coordinate(const std::string& label)
{ {
} }
Coordinate::Coordinate(const Coordinate& coord) = default;
std::string Coordinate::label() const std::string Coordinate::label() const
{ {
return name() + " (" + unit() + ")"; return name() + " (" + unit() + ")";
......
...@@ -23,7 +23,6 @@ class Coordinate { ...@@ -23,7 +23,6 @@ class Coordinate {
public: public:
Coordinate(const std::string& label); Coordinate(const std::string& label);
Coordinate(const std::string& name, const std::string& unit); Coordinate(const std::string& name, const std::string& unit);
Coordinate(const Coordinate& coord);
bool operator==(const Coordinate& other) const = default; bool operator==(const Coordinate& other) const = default;
......
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