Added explanation for change.

This commit is contained in:
NissimHadar 2020-04-17 08:51:32 -07:00
parent c7e10dc8dc
commit a2dc06e8e2

View File

@ -61,6 +61,13 @@ protected:
std::tuple<std::string, std::string, std::string, std::string, std::string> tie() const
{
// The original
// return std::tie(urn_, scheme_, authority_, path_,
// identifier_ != "" ? identifier_ : pointer_);
//
// does not compile under Visual Studio 2019
// The error occurs when including this file, NOT when building this project
//
if (identifier_ != "") {
return std::tie(urn_, scheme_, authority_, path_, identifier_);
} else {