-
Notifications
You must be signed in to change notification settings - Fork 1.4k
TRatioPlot: Fixes to warnings and implementation of suggestions #228
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
TRatioPlot: Fixes to warnings and implementation of suggestions #228
Conversation
| class TFileMergeInfo; | ||
|
|
||
| class TRatioPlot : public TPad { | ||
| class TRatioPlot : public TObject { |
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.
If you inherit from TObject (and you should) then we need to #include TObject.h. If you source file starts with #include "TRatioPlot.h" then it should have told you - which is why that should be the first #include :-)
| /// ~~~ | ||
|
|
||
| TAxis* TRatioPlot::GetLowerRefYaxis() | ||
| TAxis* TRatioPlot::GetLowerRefYaxis() const |
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.
These trivial one-liners could be inlined.
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.
@karies But can I write doxygen comments if they're inline? That's why I put them out-of-line
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.
Yes, you can write doxygen also for inline funcs.
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.
Ah ok. I'll inline them then.
|
Done |
@couet
/cc @karies