-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace FITS I/O functions with overloads that don't use shared_ptr.
The original versions of these functions violate rule 5-24b of the LSST C++ style guide and/or rule F7 of the C++ Core Guidelines: they take a smart pointer argument but don't actually need to, because they don't take ownership of the object or otherwise manipulate the object's lifetime. This is a viral problem, because it tempts downstream code to use smart pointers unnecessarily in arguments that will be forwarded to these. There are many more examples of this, but they'll be easier to resolve with or after RFC-840.
- Loading branch information
Showing
11 changed files
with
335 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.