SIPp / sipp

The SIPp testing tool
https://sipp.readthedocs.io
Other
888 stars 375 forks source link

Get rid of "using namespace std" everywhere #703

Closed orgads closed 3 months ago

orgads commented 3 months ago

Use consistent scoping.

orgads commented 3 months ago

@wdoekes The failures here are unrelated to my changes. Can you please approve it?

wdoekes commented 3 months ago

No sneaky ifunc additions here, right? ;P

orgads commented 3 months ago

🤣🤣

wdoekes commented 3 months ago

There are some other changes than just adding std:: (adding auto, replacing heap with stack alloc), but I guess it's fine. We did auto already, I see. And the stack is only for the better here.

orgads commented 3 months ago

I preferred changing to auto rather than std::map<whatever>::iterator...