0030895: Coding Rules - specify std namespace explicitly for std::cout and streams
[occt.git] / src / DDataStd / DDataStd_NameCommands.cxx
index af77e4d..17dd1bc 100644 (file)
@@ -98,12 +98,12 @@ static Standard_Integer DDataStd_GetName (Draw_Interpretor& di,
        }
        Handle(TDataStd_Name) N;          
        if( !L.FindAttribute(aGuid, N) ) {
-      cout << "Name attribute is not found or not set"  << endl;
+      std::cout << "Name attribute is not found or not set"  << std::endl;
          return 1;
        }
 #ifdef DEB_DDataStd
        if(!N.IsNull()) 
-      cout << "String = " << TCollection_AsciiString(N->Get(), '?').ToCString()  << endl;
+      std::cout << "String = " << TCollection_AsciiString(N->Get(), '?').ToCString()  << std::endl;
 #endif
     di << N->Get();
     return 0;