-
Notifications
You must be signed in to change notification settings - Fork 539
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 namespace pollution from std
and o2::constants
#3423
Conversation
@@ -31,6 +31,7 @@ | |||
// | |||
// base namespaces | |||
using namespace o2; | |||
using namespace o2::constants::math; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Vit, thanks a lot! Just for me to understand, is this now needed because of a change in the includes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @njacazio , yes, this one in particular is a fix of pollution from Framework/AnalysisDataModel.h
(see https://github.com/AliceO2Group/AliceO2/pull/11851/files#diff-6410cfe670c62cda55ab26854e52f05a3b75d325cb663e7852d79df3d4bad58e).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Auto-approving on behalf of @vkucera.
Remove using directives in headers polluting the namespace with names from
std
ando2::constants
.