1
0
mirror of https://github.com/nlohmann/json.git synced 2025-07-15 07:41:50 +03:00

Disable problematic test for GCC/clang, remove debug dump from unit.cpp

This commit is contained in:
Trevor Welsby
2016-01-25 02:22:46 +10:00
parent 12ef668335
commit 4620960b72
3 changed files with 8 additions and 16 deletions

View File

@ -7319,7 +7319,7 @@ class basic_json
@return the floating point number
*/
long double str_to_float_t(long double* type, char** endptr) const
long double str_to_float_t(long double* /* type */, char** endptr) const
{
return std::strtold(reinterpret_cast<typename string_t::const_pointer>(m_start), endptr);
}
@ -7338,7 +7338,7 @@ class basic_json
@return the floating point number
*/
double str_to_float_t(double* type, char** endptr) const
double str_to_float_t(double* /* type */, char** endptr) const
{
return std::strtod(reinterpret_cast<typename string_t::const_pointer>(m_start), endptr);
}
@ -7357,7 +7357,7 @@ class basic_json
@return the floating point number
*/
float str_to_float_t(float* type, char** endptr) const
float str_to_float_t(float* /* type */, char** endptr) const
{
return std::strtof(reinterpret_cast<typename string_t::const_pointer>(m_start), endptr);
}