mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0032352: Coding Rules - clean up code from compatibility hacks with pre-C++11 compilers
Removed usage of std::auto_ptr. opencascade::std workarounds for VS2008 have been dropped, when possible. OCCT_NO_RVALUE_REFERENCE workaround for VS2008 has been removed.
This commit is contained in:
@@ -359,11 +359,7 @@ void BoundedArc (const TheArc& A,
|
||||
Standard_Boolean IsIntCSdone = Standard_False;
|
||||
TColStd_SequenceOfReal Params;
|
||||
|
||||
#if (defined(_MSC_VER) && (_MSC_VER < 1600))
|
||||
std::auto_ptr<math_FunctionAllRoots> pSol;
|
||||
#else
|
||||
std::unique_ptr<math_FunctionAllRoots> pSol;
|
||||
#endif
|
||||
|
||||
math_FunctionSample Echant(Pdeb,Pfin,NbEchant);
|
||||
|
||||
|
Reference in New Issue
Block a user