PD: modernize C++: replace 'typedef' with 'using'

This commit is contained in:
wmayer
2022-08-29 22:20:49 +02:00
parent ad7375380a
commit 3e009e2693
9 changed files with 16 additions and 16 deletions

View File

@@ -342,9 +342,9 @@ TopoDS_Shape Transformed::refineShapeIfActive(const TopoDS_Shape& oldShape) cons
void Transformed::divideTools(const std::vector<TopoDS_Shape> &toolsIn, std::vector<TopoDS_Shape> &individualsOut,
TopoDS_Compound &compoundOut) const
{
typedef std::pair<TopoDS_Shape, Bnd_Box> ShapeBoundPair;
typedef std::list<ShapeBoundPair> PairList;
typedef std::vector<ShapeBoundPair> PairVector;
using ShapeBoundPair = std::pair<TopoDS_Shape, Bnd_Box>;
using PairList = std::list<ShapeBoundPair>;
using PairVector = std::vector<ShapeBoundPair>;
PairList pairList;