mirror of
https://github.com/ETLCPP/etl.git
synced 2026-11-09 14:49:53 +08:00
Minor layout changes
This commit is contained in:
parent
23d248e0ac
commit
cd2c5c22ee
@ -128,7 +128,7 @@ namespace etl
|
||||
{
|
||||
if (valid)
|
||||
{
|
||||
new (storage.template get_address<T>()) T(other.value());
|
||||
new (storage.template get_address<T>()) T(other.value());
|
||||
}
|
||||
}
|
||||
|
||||
@ -137,7 +137,7 @@ namespace etl
|
||||
//***************************************************************************
|
||||
optional(const T& value)
|
||||
{
|
||||
new (storage.template get_address<T>()) T(value);
|
||||
new (storage.template get_address<T>()) T(value);
|
||||
valid = true;
|
||||
}
|
||||
|
||||
@ -186,7 +186,7 @@ namespace etl
|
||||
}
|
||||
else
|
||||
{
|
||||
new (storage.template get_address<T>()) T(other.value());
|
||||
new (storage.template get_address<T>()) T(other.value());
|
||||
valid = true;
|
||||
}
|
||||
}
|
||||
@ -206,7 +206,7 @@ namespace etl
|
||||
}
|
||||
else
|
||||
{
|
||||
new (storage.template get_address<T>()) T(value);
|
||||
new (storage.template get_address<T>()) T(value);
|
||||
valid = true;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user