mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Replace Optional with std::optional
This commit is contained in:
@@ -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())
|
||||
|
Reference in New Issue
Block a user