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

Use const char * instead of char * #7446

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

Conversation

matthewhall2
Copy link
Contributor

@matthewhall2 matthewhall2 commented Aug 22, 2024

Changed methods that get passed string literals to accept const char * instead of char *.

This suppresses the warning: ISO C++11 does not allow conversion from string literal to 'char *' when they are used.

https://hyc-runtimes-jenkins.swg-devops.com/job/jvm.29.personal/34233/

Fixes many warnings when passing in string literal

Signed-off-by: Matthew Hall <[email protected]>
@matthewhall2
Copy link
Contributor Author

@r30shah please review

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.

1 participant