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

detail::path_base() now supports both path seperators on Windows. #88

Merged
merged 1 commit into from
May 18, 2021

Conversation

Robadob
Copy link
Contributor

@Robadob Robadob commented May 13, 2021

Have tested that it fixes the problem reported in #87.

std::string;:npos is the unsigned value of -1, so can't just use std::max without some nasty casting.

Closes #87

jitify.hpp Outdated Show resolved Hide resolved
@Robadob
Copy link
Contributor Author

Robadob commented May 17, 2021

Wasn't aware of those overloads, have checked it still works. Much smaller of a change now.

@benbarsdell benbarsdell merged commit 00232c8 into NVIDIA:master May 18, 2021
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.

detail::path_base() doesn't handle Linux path separators on Windows
2 participants