mirror of
https://github.com/nlohmann/json.git
synced 2024-08-23 05:22:28 +02:00
fixed type_name() signature
This commit is contained in:
parent
28644bada0
commit
bd7cd330cd
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue