Change operator< from FairTimeStamp* to FairTimeStamp׶
Conversation
WalkthroughWalkthroughThe update to the Changes
Possibly related issues
Recent Review DetailsConfiguration used: CodeRabbit UI Files selected for processing (2)
Additional Context UsedLanguageTool (18)
Additional comments not posted (1)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
|
I don't understand why the operator is needed at all. I is neither used in FairRoot nor PandaRoot which was checked by Radek and me independently. Radek simply removed the function, I add the function with I don't see the need for the overloaded function and would propose to simply delete it or at least set it as deprecated. |
|
The original idea why I defined |
ChristianTackeGSI
left a comment
There was a problem hiding this comment.
Still some open points
|
@coderabbitai construct short CHANGELOG message for this PR. |
|
Tip For best results, initiate chat on the files or code changes. @karabowi, here's a short CHANGELOG message for PR #1526: Let me know if you need any further modifications or additional information! |
There was a problem hiding this comment.
Actionable comments posted: 1
Out of diff range and nitpick comments (5)
CHANGELOG.md (5)
Line range hint
15-17: Consider using Markdown links instead of bare URLs for better readability and consistency with Markdown standards.- * Dropped [our custom `FindROOT.cmake`](https://github.com/FairRootGroup/FairRoot/commit/764b2c66432d2e63f765df6f6d328aa4b61dba10) + * Dropped [our custom `FindROOT.cmake`](https://github.com/FairRootGroup/FairRoot/commit/764b2c66432d2e63f765df6f6d328aa4b61dba10)
Line range hint
53-53: Consider rephrasing "was in conflict with" to a more concise alternative like "conflicted with" to enhance readability.- * Dropped build switch `BUILD_UNITTESTS`, it was in conflict with the CMake standard switch [`BUILD_TESTING` from the CTest module](https://cmake.org/cmake/help/latest/module/CTest.html) + * Dropped build switch `BUILD_UNITTESTS`, it conflicted with the CMake standard switch [`BUILD_TESTING` from the CTest module](https://cmake.org/cmake/help/latest/module/CTest.html)
Line range hint
157-157: Grammar correction: Replace "are" with "is" to match the singular noun "one".- * If one of these classes are used in your code, you need to link against new target `FairRoot::Online`. + * If one of these classes is used in your code, you need to link against new target `FairRoot::Online`.
Line range hint
194-194: The verb form of "opt-in" should be "opt in". Additionally, consider replacing "previously baseline" with "previously standard" for clarity.- * Boost serialization support for `FairTimeStamp`, `FairHit`, and `FairMCPoint` has been moved to the `FairRoot::BaseMQ` target to have `FairRoot::Base` no longer depend on Boost.Serialization. The user must opt-in to the previously baseline Boost serialization support by including one of the new headers, e.g. for `FairHit`: + * Boost serialization support for `FairTimeStamp`, `FairHit`, and `FairMCPoint` has been moved to the `FairRoot::BaseMQ` target to have `FairRoot::Base` no longer depend on Boost.Serialization. The user must opt in to the previously standard Boost serialization support by including one of the new headers, e.g. for `FairHit`:
Line range hint
259-259: Replace "anyways" with "anyway" for formal writing.- * If you want to run them anyways, pass `-DENABLE_GEANT3_TESTING=ON` to CMake. + * If you want to run them anyway, pass `-DENABLE_GEANT3_TESTING=ON` to CMake.
ChristianTackeGSI
left a comment
There was a problem hiding this comment.
Please rebase and squash things.
ChristianTackeGSI
left a comment
There was a problem hiding this comment.
Please rebase and squash things.
The behaviour of the FairTimeStamp::operator< does no follow standard behaviour by dealing with the FairTimeStamp* instead of a FairTimeStamp&. This is fixed in this merge request. Should fix issue #1519.
44391b2 to
4d4707c
Compare
Done. |
The behaviour of the FairTimeStamp::operator< does no follow standard behaviour by dealing with the FairTimeStamp* instead of a FairTimeStamp&. This is fixed in this merge request.
Should fix issue #1519.
Describe your proposal.
Mention any issue this PR resolves or is related to.
Checklist:
Summary by CodeRabbit
FairTimeStampclass for enhanced reliability and performance.CHANGELOG.mdfile.