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

Cleanup namespaces boost #63

Merged
merged 1 commit into from
Jun 19, 2023
Merged

Cleanup namespaces boost #63

merged 1 commit into from
Jun 19, 2023

Conversation

Nicogene
Copy link
Member

This PR cleanup the namespace usage of boost asio in some header

@@ -8,6 +8,7 @@
#include <chrono>

using namespace std::literals::chrono_literals;
using namespace boost::asio::ip;
Copy link
Member

Choose a reason for hiding this comment

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

I tought the idea of the PR is to remove the using namespace, is this addition intentional?

Copy link
Member

Choose a reason for hiding this comment

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

Ahh I got it, the idea was to remove it from the headers, make sense.

Copy link
Member Author

Choose a reason for hiding this comment

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

I moved it in the cpp that should be harmless in theory, but in case I can get rid of it also from the cpp

Copy link
Member

@traversaro traversaro left a comment

Choose a reason for hiding this comment

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

Even if it does not fix the problem, it make sense to do this change.

@Nicogene Nicogene merged commit 0cc3e53 into master Jun 19, 2023
@Nicogene Nicogene deleted the fix/namespaces branch June 19, 2023 08:48
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