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

make static variables const via lamdbas #362

Merged
merged 1 commit into from
Sep 29, 2024

Conversation

ZXShady
Copy link
Contributor

@ZXShady ZXShady commented Sep 28, 2024

this pr also makes sfSoundRecorder_getAvailableDevices return a const pointer to a const char pointer so you can no longer modify where the pointers of the strings are pointing into becuase it doesn't make sense I will remove it if it is unwanted

src/CSFML/Window/VideoMode.cpp Outdated Show resolved Hide resolved
src/CSFML/Audio/SoundRecorder.cpp Outdated Show resolved Hide resolved
this pr also makes `sfSoundRecorder_getAvailableDevices` return a const pointer to a const char pointer so you can no longer modify where the pointers of the strings are pointing into becuase it doesn't make sense.
@ChrisThrasher ChrisThrasher changed the title make static varaibles const via lamdbas make static variables const via lamdbas Sep 29, 2024
@ChrisThrasher ChrisThrasher merged commit f297287 into SFML:master Sep 29, 2024
39 checks passed
@eXpl0it3r eXpl0it3r added this to the 3.0 milestone Sep 29, 2024
@ZXShady ZXShady deleted the use_lamdbas_to_init branch October 2, 2024 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants