srs icon indicating copy to clipboard operation
srs copied to clipboard

BugFix: improve c++ std space import.

Open suzp1984 opened this issue 2 years ago • 1 comments

The namespace std is imported to srs_app_utility.cpp, but the string declaration is not inconsistent, some part use std::string, while other part use string.

And also the ::getenv(), makes me confused at the beginning.

The commit deletes the using namespace std;, I remember there is a coding convention that said to avoid importing the whole namespace in C++. What do you guys think about it?

suzp1984 avatar Apr 12 '23 02:04 suzp1984

Thank you, we will take a look.

winlinvip avatar Apr 15 '23 01:04 winlinvip