0028824: Possibility to build OCCT 7.1.0 and above using Visual Studio 2008
[occt.git] / src / QANCollection / QANCollection_Handle.cxx
index f52c959..42f2d34 100644 (file)
@@ -435,7 +435,7 @@ static Standard_Integer QAHandleInc (Draw_Interpretor& theDI,
   }
 
   Handle(Standard_Transient) aHandle  = new Standard_Transient();
-  std::shared_ptr<Standard_Transient> aSharePtr (new Standard_Transient());
+  opencascade::std::shared_ptr<Standard_Transient> aSharePtr (new Standard_Transient());
   theDI << "Time of creating and destroying " << aNbIters << " smart pointers to the same object, per item, ns:";
   {
     {
@@ -451,7 +451,7 @@ static Standard_Integer QAHandleInc (Draw_Interpretor& theDI,
     {
       QATimer aTimer (theDI, "\nC++ shared_ptr: ", QATimer::ns, aNbIters);
       {
-        std::vector< std::shared_ptr<Standard_Transient> > aSharePointers (aNbIters);
+        std::vector< opencascade::std::shared_ptr<Standard_Transient> > aSharePointers (aNbIters);
         for (Standard_Integer anIter = 0; anIter < aNbIters; ++anIter)
         {
           aSharePointers[anIter] = aSharePtr;