diff --git a/Base/Axis/Bin.cpp b/Base/Axis/Bin.cpp index 1bf47e7d64a443dbcd5aecbd18827a5baafd5403..bfaeafb5b3c62b05746c69a59e6dfea24c1430e4 100644 --- a/Base/Axis/Bin.cpp +++ b/Base/Axis/Bin.cpp @@ -15,8 +15,6 @@ #include "Base/Axis/Bin.h" #include "Base/Util/Assert.h" -bool Bin1D::operator==(const Bin1D&) const = default; - Bin1D Bin1D::FromTo(double lower, double upper) { return {lower, upper}; diff --git a/Base/Axis/Bin.h b/Base/Axis/Bin.h index 1a2f333c0bc2a0d1b07835259d462a6d972ac4a8..b8db8bcbad72525d52470cea15a4c10fda6d934c 100644 --- a/Base/Axis/Bin.h +++ b/Base/Axis/Bin.h @@ -24,7 +24,7 @@ public: static Bin1D FromTo(double lower, double upper); static Bin1D At(double center); static Bin1D At(double center, double halfwidth); - bool operator==(const Bin1D&) const; + bool operator==(const Bin1D&) const = default; double lowerBound() const { return m_lower; } double upperBound() const { return m_upper; }