modernize C++: use using
This commit is contained in:
@@ -86,22 +86,22 @@ public:
|
||||
//@}
|
||||
short mustExecute() const override;
|
||||
|
||||
typedef struct {
|
||||
using ThreadDescription = struct {
|
||||
const char * designation;
|
||||
double diameter;
|
||||
double pitch;
|
||||
double CoreHole;
|
||||
} ThreadDescription;
|
||||
};
|
||||
static const ThreadDescription threadDescription[][171];
|
||||
|
||||
static const double metricHoleDiameters[36][4];
|
||||
|
||||
typedef struct {
|
||||
using UTSClearanceDefinition = struct {
|
||||
std::string designation;
|
||||
double close;
|
||||
double normal;
|
||||
double loose;
|
||||
} UTSClearanceDefinition;
|
||||
};
|
||||
static const UTSClearanceDefinition UTSHoleDiameters[22];
|
||||
|
||||
void Restore(Base::XMLReader & reader) override;
|
||||
|
||||
Reference in New Issue
Block a user