mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-29 02:40:05 +00:00
Added a private constructor to Value that should prevent accidentally creating one from an int=0
This commit is contained in:
parent
fccca2eff7
commit
edfb1e9830
2 changed files with 5 additions and 7 deletions
|
|
@ -111,12 +111,6 @@ Value::Value (const Value& other) : value (other.value)
|
|||
{
|
||||
}
|
||||
|
||||
Value& Value::operator= (const Value& other)
|
||||
{
|
||||
value = other.value;
|
||||
return *this;
|
||||
}
|
||||
|
||||
#if JUCE_COMPILER_SUPPORTS_MOVE_SEMANTICS
|
||||
Value::Value (Value&& other) noexcept
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue