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

Drown using namespace std #603

Merged
merged 19 commits into from
Aug 22, 2023

Conversation

PhilMiller
Copy link
Contributor

@PhilMiller PhilMiller commented Aug 4, 2023

Using using namespace std is poor practice. Clean it out of the code base, other than instances in zombie code that's being deleted.

Additions

  • Name qualifications

Removals

  • Occurrences of using namespace std

Notes

Instances in zombie code were left alone

Todos

  • Tests

Checklist

  • PR has an informative and human-readable title
  • Changes are limited to a single goal (no scope creep)
  • Code can be automatically merged (no conflicts)
  • Code follows project standards (link if applicable)
  • Passes all existing automated tests
  • Any change in functionality is tested
  • New functions are documented (with a description, list of inputs, and expected output)
  • Placeholder code is flagged / future todos are captured in comments
  • Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)
  • Reviewers requested with the Reviewers tool ➡️

@PhilMiller PhilMiller marked this pull request as ready for review August 4, 2023 22:31
@mattw-nws mattw-nws force-pushed the phil/using-namespace-std branch 2 times, most recently from 5e1a86a to 4b64797 Compare August 16, 2023 17:53
@mattw-nws
Copy link
Contributor

@PhilMiller when you get back, please look over this. I attempted to rebase it but ended up having to add quite a few additional changes to get it to compile again... I'm not sure if I lost a commit somehow in the rebase or what. Perhaps compare with your local repo copy.

@PhilMiller
Copy link
Contributor Author

I don't see any commits missing, and the changes all look fine to me. I'm rebasing to master again to check afresh

@mattw-nws mattw-nws merged commit c2633c5 into NOAA-OWP:master Aug 22, 2023
19 checks passed
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