Fixed strange compilation error for Visual Studio 2019.

This commit is contained in:
NissimHadar 2020-04-17 08:47:39 -07:00
parent b28c15adea
commit c7e10dc8dc

View File

@ -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: