updated README

This commit is contained in:
Niels
2015-01-12 23:38:55 +01:00
parent dcf71748a6
commit d47b0e749b
2 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -175,7 +175,7 @@ class json
T get() const;
/// implicit conversion to string representation
operator const std::string() const;
operator std::string() const;
/// implicit conversion to integer (only for numbers)
operator int() const;
/// implicit conversion to double (only for numbers)
@@ -894,7 +894,7 @@ json::object_t json::get() const
}
}
json::operator const std::string() const
json::operator std::string() const
{
return get<std::string>();
}