Remove unnecessary call to std::tie

The call to std::tie was causing a compiler error on MSVC 2017.
This commit is contained in:
Michael Jabbour 2020-11-22 16:43:52 +02:00
parent 1519c845c2
commit 1b0782458c

View File

@ -61,8 +61,7 @@ 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_);
return {urn_, scheme_, authority_, path_, identifier_ != "" ? identifier_ : pointer_};
}
public: