diff --git a/src/nlohmann/json-schema.hpp b/src/nlohmann/json-schema.hpp index 7979951..e99c400 100644 --- a/src/nlohmann/json-schema.hpp +++ b/src/nlohmann/json-schema.hpp @@ -61,7 +61,7 @@ protected: std::tuple as_tuple() const { - return {urn_, scheme_, authority_, path_, identifier_ != "" ? identifier_ : pointer_}; + return std::make_tuple(urn_, scheme_, authority_, path_, identifier_ != "" ? identifier_ : pointer_); } public: