Skip to content

Commit

Permalink
remove unused non const accessor
Browse files Browse the repository at this point in the history
  • Loading branch information
VinInn committed May 2, 2024
1 parent 69a7aba commit 99410bd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ class Basic2DVector {
MathVector& mathVector() { return v; }

T operator[](int i) const { return v[i]; }
T& operator[](int i) { return v[i]; }

/// Cartesian x coordinate
T x() const { return v[0]; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ class Basic3DVector {
MathVector& mathVector() { return v; }

T operator[](int i) const { return v[i]; }
T& operator[](int i) { return v[i]; }

/// Cartesian x coordinate
T x() const { return v[0]; }
Expand Down

0 comments on commit 99410bd

Please sign in to comment.