Skip to content

Commit

Permalink
Allow implicit conversion from Linear to Affine
Browse files Browse the repository at this point in the history
This will allow LinearTransforms to participate in AffineTransform
operator overloading with the appropriate promotion.
  • Loading branch information
TallJimbo committed Oct 26, 2016
1 parent 3c42839 commit a186269
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/lsst/afw/geom/AffineTransform.h
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ class AffineTransform {
) : _linear(linear), _translation(translation) {}

/** Construct an AffineTransform from a LinearTransform. */
explicit AffineTransform(LinearTransform const & linear)
AffineTransform(LinearTransform const & linear)
: _linear(linear), _translation() {}

/** Construct a translation-only AffineTransform from an Extent2D. */
Expand Down

0 comments on commit a186269

Please sign in to comment.