Fixed strange compilation error for Visual Studio 2019.
This commit is contained in:
parent
b28c15adea
commit
c7e10dc8dc
@ -61,8 +61,11 @@ protected:
|
||||
|
||||
std::tuple<std::string, std::string, std::string, std::string, std::string> tie() const
|
||||
{
|
||||
return std::tie(urn_, scheme_, authority_, path_,
|
||||
identifier_ != "" ? identifier_ : pointer_);
|
||||
if (identifier_ != "") {
|
||||
return std::tie(urn_, scheme_, authority_, path_, identifier_);
|
||||
} else {
|
||||
return std::tie(urn_, scheme_, authority_, path_, pointer_);
|
||||
}
|
||||
}
|
||||
|
||||
public:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user