Salome HOME
[CEA 13302] Policy for c++ files ? using namespaces in c++ header files. boost_ptr...
authorrnv <rnv@opencascade.com>
Tue, 12 Mar 2019 10:23:45 +0000 (13:23 +0300)
committerrnv <rnv@opencascade.com>
Tue, 12 Mar 2019 10:23:45 +0000 (13:23 +0300)
src/DriverUNV/UNV_Utilities.hxx

index db3659f6b8bbed124fc9065468aee1af110f7b1d..e41ff1ba3961e8c0ecff075ec7e5fe9f83b7e8d3 100644 (file)
@@ -33,8 +33,7 @@
 #include <cassert>
 #include <cstdlib>
 
-namespace UNV{
-  using namespace std;
+namespace UNV {
 
   const size_t theMaxLineLen = 82; // 80 for text + 2 for "\r\n"
 
@@ -44,7 +43,7 @@ namespace UNV{
     PrefixPrinter();
     ~PrefixPrinter();
 
-    static string GetPrefix();
+    static std::string GetPrefix();
   };
 
   /**