File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -310,8 +310,9 @@ class Rotation
310
310
double Xy,double Yy,double Zy,
311
311
double Xz,double Yz,double Zz);
312
312
inline Rotation (const Vector& x,const Vector& y,const Vector& z);
313
- // default copy constructor is sufficient
314
313
314
+ // default copy constructor is sufficient
315
+ constexpr Rotation (const Rotation&) = default;
315
316
316
317
inline Rotation& operator =(const Rotation& arg);
317
318
@@ -1060,6 +1061,9 @@ class Rotation2
1060
1061
1061
1062
Rotation2 (double ca,double sa):s(sa),c(ca){}
1062
1063
1064
+ // default copy constructor is sufficient
1065
+ constexpr Rotation2 (const Rotation2&) = default;
1066
+
1063
1067
inline Rotation2& operator =(const Rotation2& arg);
1064
1068
inline Vector2 operator *(const Vector2& v) const ;
1065
1069
// ! Access to elements 0..1,0..1, bounds are checked when NDEBUG is not set
You can’t perform that action at this time.
0 commit comments