enum class
This commit is contained in:
@@ -35,13 +35,13 @@ public:
|
||||
~BlockBusItem() {;}
|
||||
|
||||
struct QAD_BLOCKVIEW_EXPORT PointInfo {
|
||||
enum Type {
|
||||
tNone,
|
||||
tNode, // point > 2 segments
|
||||
tEndpoint,
|
||||
tSegment
|
||||
enum class Type {
|
||||
None,
|
||||
Node, // point > 2 segments
|
||||
Endpoint,
|
||||
Segment
|
||||
};
|
||||
Type type = tNone;
|
||||
Type type = Type::None;
|
||||
BlockItemPin * pin = nullptr; // if tEndpoint and pin connected
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user