Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-4639: modernize afw code and reduce doxygen errors #66

Merged
merged 1 commit into from Apr 28, 2017

Conversation

kfindeisen
Copy link
Member

DM-4639 requires that afw components no longer have type members Ptr and ConstPtr representing shared pointers to those types. This is a breaking API change that requires changes to downstream code.

For clarity, no unnecessary changes changes were made to this package, not even a clang-format pass.

@@ -252,7 +252,7 @@ CreateWcsWithSip<MatchT>::_calculateForwardMatrices()

afwGeom::Point2D crval = _getCrvalAsGeomPoint();

_linearWcs = afwImg::Wcs::Ptr( new afwImg::Wcs(crval, crpix, CD));
_linearWcs = std::shared_ptr<afwImg::Wcs>( new afwImg::Wcs(crval, crpix, CD));

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make_shared

@kfindeisen kfindeisen merged commit 70abcaa into master Apr 28, 2017
@ktlim ktlim deleted the tickets/DM-4639 branch August 25, 2018 06:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants