mirror of
https://github.com/leozide/leocad
synced 2025-01-17 18:11:42 +01:00
Compiler feature test.
This commit is contained in:
parent
c34810c084
commit
35050efe3a
2 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@
|
|||
lcPiece::lcPiece(PieceInfo* Info)
|
||||
: lcObject(LC_OBJECT_PIECE)
|
||||
{
|
||||
mMesh = NULL;
|
||||
mMesh = nullptr;
|
||||
SetPieceInfo(Info, true);
|
||||
mState = 0;
|
||||
mColorIndex = gDefaultColor;
|
||||
|
|
|
@ -59,7 +59,7 @@ public:
|
|||
lcPiece(const lcPiece& Other);
|
||||
~lcPiece();
|
||||
|
||||
virtual bool IsSelected() const
|
||||
virtual bool IsSelected() const override
|
||||
{
|
||||
return (mState & LC_PIECE_SELECTION_MASK) != 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue