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

Fix deprecated <strstream> (depricated since C++98) #402

Merged
merged 3 commits into from
Jan 7, 2024

Conversation

schnepe2
Copy link
Contributor

@schnepe2 schnepe2 commented Jan 5, 2024

In addition to issue #375, replaced deprecated <strstream> by <sstream>
Depricated since C++98 (See: https://en.cppreference.com/w/cpp/header/strstream)

@@ -16,7 +16,7 @@
#include <stdio.h>
#include <time.h>
#include <fstream>
#include <strstream>
//#include <sstream>

Choose a reason for hiding this comment

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

Should it be commented out?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, actually it should have been removed 😉 Since nothing in Orbiter.cpp is using any of that.
Unfortunately it was left as "commented out". I'll fix (remove) that!

@jarmonik jarmonik merged commit 0e5b7f8 into orbitersim:main Jan 7, 2024
3 checks passed
@schnepe2 schnepe2 deleted the fix_deprecated_strstream branch January 7, 2024 16:27
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.

3 participants