From: Kefu Chai Date: Fri, 13 Aug 2021 05:24:58 +0000 (+0800) Subject: dokan: : build without "using namespace std" X-Git-Tag: v17.1.0~1121^2~1 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=20552c5e8ad7019551e1a85998558bc2a551c8da;p=ceph.git dokan: : build without "using namespace std" * add "using" declarations in .cc files. so we don't rely on "using namespace std" in one or more included headers. Signed-off-by: Kefu Chai --- diff --git a/src/dokan/dbg.cc b/src/dokan/dbg.cc index 1fb208f091722..6860ff35cd781 100644 --- a/src/dokan/dbg.cc +++ b/src/dokan/dbg.cc @@ -23,6 +23,7 @@ #define check_flag(stream, val, flag) if (val & flag) { stream << "[" #flag "]"; } #define check_flag_eq(stream, val, flag) if (val == flag) { stream << "[" #flag "]"; } +using namespace std; void print_credentials(ostringstream& Stream, PDOKAN_FILE_INFO DokanFileInfo) {