mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Replace Optional with std::optional
This commit is contained in:
parent
34ad551efc
commit
e700182f44
15 changed files with 39 additions and 198 deletions
|
@ -237,7 +237,7 @@ void ObjectProperties::deSerialize(std::istream &is)
|
|||
if (bgcolor != NULL_BGCOLOR)
|
||||
nametag_bgcolor = bgcolor;
|
||||
else
|
||||
nametag_bgcolor = nullopt;
|
||||
nametag_bgcolor = std::nullopt;
|
||||
|
||||
tmp = readU8(is);
|
||||
if (is.eof())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue