1331900 - Delete Label's assignment operator.

Hiding it => linking error.
Deleting it => compilation error.
This commit is contained in:
win7-7 2026-01-06 22:13:26 +02:00 committed by wuggy
commit 75adae3c46

View file

@ -19,8 +19,8 @@ struct LabelBase
int32_t offset_ : 31;
bool bound_ : 1;
// Disallow assignment.
void operator =(const LabelBase& label);
void operator =(const LabelBase& label) = delete;
public:
static const int32_t INVALID_OFFSET = -1;