mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2025-06-08 01:24:57 +02:00
Another round of attempting to fix VC++ errors...
This commit is contained in:
parent
a9eb1eccc0
commit
c649badb95
@ -726,7 +726,6 @@ Value::asInt() const
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
JSON_FAIL_MESSAGE("Value is not convertible to Int.");
|
JSON_FAIL_MESSAGE("Value is not convertible to Int.");
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -752,7 +751,6 @@ Value::asUInt() const
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
JSON_FAIL_MESSAGE("Value is not convertible to UInt.");
|
JSON_FAIL_MESSAGE("Value is not convertible to UInt.");
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -779,7 +777,6 @@ Value::asInt64() const
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
JSON_FAIL_MESSAGE("Value is not convertible to Int64.");
|
JSON_FAIL_MESSAGE("Value is not convertible to Int64.");
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -804,7 +801,6 @@ Value::asUInt64() const
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
JSON_FAIL_MESSAGE("Value is not convertible to UInt64.");
|
JSON_FAIL_MESSAGE("Value is not convertible to UInt64.");
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
# endif // if defined(JSON_HAS_INT64)
|
# endif // if defined(JSON_HAS_INT64)
|
||||||
|
|
||||||
@ -854,7 +850,6 @@ Value::asDouble() const
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
JSON_FAIL_MESSAGE("Value is not convertible to double.");
|
JSON_FAIL_MESSAGE("Value is not convertible to double.");
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
float
|
float
|
||||||
@ -880,7 +875,6 @@ Value::asFloat() const
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
JSON_FAIL_MESSAGE("Value is not convertible to float.");
|
JSON_FAIL_MESSAGE("Value is not convertible to float.");
|
||||||
return 0.0f;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
@ -902,7 +896,6 @@ Value::asBool() const
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
JSON_FAIL_MESSAGE("Value is not convertible to bool.");
|
JSON_FAIL_MESSAGE("Value is not convertible to bool.");
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user