mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fixed operands t '?:' have different types
This commit is contained in:
parent
23f785ef5b
commit
85cdb29121
@ -80,5 +80,5 @@ static std::optional<Severity> severityFromString(std::string _severity)
|
||||
|
||||
_severity[0] = toupper(_severity[0]);
|
||||
|
||||
return std::make_optional<std::string>(_severity).has_value() ? std::optional<std::string>(_severity).value() : std::nullopt;
|
||||
return std::make_optional<std::string>(_severity).has_value() ? std::optional<std::string>(_severity) : std::nullopt;
|
||||
}
|
Loading…
Reference in New Issue
Block a user