Remove unnecessary call to std::tie
The call to std::tie was causing a compiler error on MSVC 2017.
This commit is contained in:
parent
1519c845c2
commit
1b0782458c
@ -61,8 +61,7 @@ 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_,
|
return {urn_, scheme_, authority_, path_, identifier_ != "" ? identifier_ : pointer_};
|
||||||
identifier_ != "" ? identifier_ : pointer_);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user