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

update Node.min_path(Node) to take a const; could probably return con… #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pearsonca
Copy link
Collaborator

…st as well

Came across this while doing some computations - min_path doesn't have any side effects, so it should take a const (probably return one as well).

@tjhladish
Copy link
Owner

You've verified that this compiles? I'm recalling some issue with making some of the min_path objects and functions const, but it's been awhile since I looked at it

@pearsonca
Copy link
Collaborator Author

i have not looked at this in awhile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants