-
Notifications
You must be signed in to change notification settings - Fork 304
Move params implementation to new file #784
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
Conversation
|
I was also thinking about renaming the files |
f1b2868 to
94f30dd
Compare
Codecov Report
@@ Coverage Diff @@
## master #784 +/- ##
==========================================
+ Coverage 70.57% 70.72% +0.14%
==========================================
Files 144 145 +1
Lines 19214 19208 -6
==========================================
+ Hits 13560 13584 +24
+ Misses 5654 5624 -30
Continue to review full report at Codecov.
|
D4N
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great cleanup, thank you!
Sorry, missed this comment: no objections from my side, I'm all in for more clarity. |
b50ff89 to
1894d9b
Compare
D4N
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
In this PR I am proposing to move the implementation of Params's methods to its own .cpp file.
I started these changes just with the idea of implementing the existing Singleton in Params in the modern c++ way (see first commit). Then I realised that most of the file
exiv2.cppwas the implementation of that Params class and I think it would be better to have it on its own file. Thanks to this change, now theexiv2.cppfile only has 90 LoC.I recommend to review the PR commit by commit since I also took the opportunity to clang-format the exiv2app.* files.