From 1b0782458cb57e12e5f36813ef2d755d3bd85b22 Mon Sep 17 00:00:00 2001 From: Michael Jabbour Date: Sun, 22 Nov 2020 16:43:52 +0200 Subject: [PATCH] Remove unnecessary call to std::tie The call to std::tie was causing a compiler error on MSVC 2017. --- src/nlohmann/json-schema.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/nlohmann/json-schema.hpp b/src/nlohmann/json-schema.hpp index e312931..3e8d99f 100644 --- a/src/nlohmann/json-schema.hpp +++ b/src/nlohmann/json-schema.hpp @@ -61,8 +61,7 @@ protected: std::tuple tie() const { - return std::tie(urn_, scheme_, authority_, path_, - identifier_ != "" ? identifier_ : pointer_); + return {urn_, scheme_, authority_, path_, identifier_ != "" ? identifier_ : pointer_}; } public: