mirror of
https://github.com/nlohmann/json.git
synced 2026-04-14 03:58:55 +00:00
Fix string conversion under Clang
This commit is contained in:
@@ -442,7 +442,7 @@ json::object_t json::get() const
|
||||
}
|
||||
}
|
||||
|
||||
json::operator const std::string() const
|
||||
json::operator std::string() const
|
||||
{
|
||||
return get<std::string>();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user