mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-08-25 03:45:48 +08:00
Coding - Rework of Math global functions to stl (#833)
Majority of functions now simply call same functions from std namespace. Functions that duplicate std namespace functionality are declared deprecated. Calls of deprecated functions are replaced with std functions calls.
This commit is contained in:
@@ -362,7 +362,7 @@ public:
|
||||
myLowerBound = theLower;
|
||||
if (theToCopyData)
|
||||
{
|
||||
const size_t aMinSize = std::min<size_t>(aNewSize, mySize);
|
||||
const size_t aMinSize = (std::min)(aNewSize, mySize);
|
||||
if (myIsOwner)
|
||||
{
|
||||
myPointer = myAllocator.reallocate(myPointer, aNewSize);
|
||||
|
||||
Reference in New Issue
Block a user