Fix explicit tuple constructor error on gcc-5 (#138)

This commit is contained in:
Michael Jabbour 2020-12-03 12:49:52 +02:00 committed by GitHub
parent 5302adfdc7
commit 73d57d9540
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,7 +61,7 @@ protected:
std::tuple<std::string, std::string, std::string, std::string, std::string> as_tuple() const
{
return {urn_, scheme_, authority_, path_, identifier_ != "" ? identifier_ : pointer_};
return std::make_tuple(urn_, scheme_, authority_, path_, identifier_ != "" ? identifier_ : pointer_);
}
public: