Remove move constructor
This commit is contained in:
parent
601f9ba164
commit
28411308e4
|
@ -42,12 +42,6 @@ SFallScriptValue::SFallScriptValue(ProgramValue& value)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
SFallScriptValue::SFallScriptValue(SFallScriptValue&& other) noexcept
|
|
||||||
{
|
|
||||||
opcode = other.opcode;
|
|
||||||
std::exchange(other.pointerValue, nullptr);
|
|
||||||
}
|
|
||||||
|
|
||||||
SFallScriptValue::~SFallScriptValue()
|
SFallScriptValue::~SFallScriptValue()
|
||||||
{
|
{
|
||||||
// TODO: If type is string then free it
|
// TODO: If type is string then free it
|
||||||
|
|
|
@ -13,8 +13,6 @@ public:
|
||||||
SFallScriptValue(Object* value);
|
SFallScriptValue(Object* value);
|
||||||
SFallScriptValue(ProgramValue& value);
|
SFallScriptValue(ProgramValue& value);
|
||||||
|
|
||||||
SFallScriptValue(SFallScriptValue&& other) noexcept; // move constructor
|
|
||||||
|
|
||||||
bool isInt() const;
|
bool isInt() const;
|
||||||
bool isFloat() const;
|
bool isFloat() const;
|
||||||
bool isPointer() const;
|
bool isPointer() const;
|
||||||
|
|
Loading…
Reference in New Issue