2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-31 06:16:03 +00:00

fix: avoid using namespace std; in header files

using directive in a header file is a bad practice because it may lead
to unexpected results.

https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Rs-using-directive
This commit is contained in:
Eisuke Kawashima
2025-05-04 23:14:36 +09:00
parent e510dfd0e7
commit 7d5a021023
24 changed files with 87 additions and 71 deletions

View File

@@ -45,6 +45,7 @@
#endif
#define NPDEBUG(fmt, args...) /* Do nothing */
using namespace std;
ProfileList policy_list;