mirror of
https://github.com/nlohmann/json.git
synced 2026-04-05 07:38:52 +00:00
fixed type_name() signature
This commit is contained in:
@@ -5801,7 +5801,7 @@ class basic_json
|
|||||||
///////////////////////////
|
///////////////////////////
|
||||||
|
|
||||||
/// return the type as string
|
/// return the type as string
|
||||||
string_t type_name() const noexcept
|
std::string type_name() const
|
||||||
{
|
{
|
||||||
switch (m_type)
|
switch (m_type)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -5801,7 +5801,7 @@ class basic_json
|
|||||||
///////////////////////////
|
///////////////////////////
|
||||||
|
|
||||||
/// return the type as string
|
/// return the type as string
|
||||||
string_t type_name() const noexcept
|
std::string type_name() const
|
||||||
{
|
{
|
||||||
switch (m_type)
|
switch (m_type)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user