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
|
std::tuple<std::string, std::string, std::string, std::string, std::string> tie() const
|
||||||
{
|
{
|
||||||
return std::tie(urn_, scheme_, authority_, path_,
|
if (identifier_ != "") {
|
||||||
identifier_ != "" ? identifier_ : pointer_);
|
return std::tie(urn_, scheme_, authority_, path_, identifier_);
|
||||||
|
} else {
|
||||||
|
return std::tie(urn_, scheme_, authority_, path_, pointer_);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user