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

Add GraphNodeIterator::operator<= required by std::reverse_iterator #2955

Merged
merged 1 commit into from
Mar 8, 2025

Conversation

piotrrak
Copy link

While it is not technically used by normal build its presence is verified during debug standard library build.

More info about debug mode of standard library: https://gcc.gnu.org/onlinedocs/libstdc++/manual/debug_mode.html

@@ -193,6 +193,19 @@ class GraphNodeIterator {
return lhs.p != rhs.p;
}

/**
* @brief != comparison operator override
Copy link
Member

Choose a reason for hiding this comment

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

s/!=/<=/?

Copy link
Author

Choose a reason for hiding this comment

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

Oh, thanks! Good catch.

Copy link
Author

Choose a reason for hiding this comment

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

Will squash it

Copy link
Collaborator

@dkjung dkjung left a comment

Choose a reason for hiding this comment

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

LGTM

@dkjung
Copy link
Collaborator

dkjung commented Feb 19, 2025

Please check if all your commits are correctly signed-off

Copy link
Member

@skykongkong8 skykongkong8 left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Contributor

@djeong20 djeong20 left a comment

Choose a reason for hiding this comment

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

Please revise the description. Other than that, it looks good to me!

Copy link
Contributor

@baek2sm baek2sm left a comment

Choose a reason for hiding this comment

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

LGTM

@myungjoo
Copy link
Member

myungjoo commented Mar 7, 2025

The CI error is about "no commit message" (the 1st commit has an empty commit message)

@myungjoo
Copy link
Member

myungjoo commented Mar 7, 2025

This is a trivial PR. Please do squash, amend commit message, push, and merge and move on.

…dapter

This makes possible to build nntrainer in standard library debug mode.
Please see: https://gcc.gnu.org/onlinedocs/libstdc++/manual/debug_mode.html

Signed-off-by: Piotr Rak <[email protected]>
@jijoongmoon jijoongmoon merged commit 0f77d04 into nnstreamer:main Mar 8, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants