From ea1046110db45d2d31d9d43f229dc8096debebbf Mon Sep 17 00:00:00 2001 From: Niels Date: Fri, 3 Apr 2015 14:43:44 +0200 Subject: [PATCH] using "key_type" where possible --- src/json.hpp | 6 +++--- src/json.hpp.re2c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/json.hpp b/src/json.hpp index 80dfa3eb8..fd4bce2e3 100644 --- a/src/json.hpp +++ b/src/json.hpp @@ -405,7 +405,7 @@ class basic_json /// create an object (implicit) template ::value and + std::is_constructible::value and std::is_constructible::value, int>::type = 0> inline basic_json(const V& value) @@ -808,7 +808,7 @@ class basic_json /// get an object (explicit) template ::value and + std::is_constructible::value and std::is_constructible::value, int>::type = 0> inline T get() const @@ -842,7 +842,7 @@ class basic_json /// get a string (explicit) template ::value, int>::type + std::is_constructible::value, int>::type = 0> inline T get() const { diff --git a/src/json.hpp.re2c b/src/json.hpp.re2c index 78fc7c0d6..44b471f93 100644 --- a/src/json.hpp.re2c +++ b/src/json.hpp.re2c @@ -405,7 +405,7 @@ class basic_json /// create an object (implicit) template ::value and + std::is_constructible::value and std::is_constructible::value, int>::type = 0> inline basic_json(const V& value) @@ -808,7 +808,7 @@ class basic_json /// get an object (explicit) template ::value and + std::is_constructible::value and std::is_constructible::value, int>::type = 0> inline T get() const @@ -842,7 +842,7 @@ class basic_json /// get a string (explicit) template ::value, int>::type + std::is_constructible::value, int>::type = 0> inline T get() const {