diff --git a/PiPedalCommon/src/include/json.hpp b/PiPedalCommon/src/include/json.hpp index 2972775..7792535 100644 --- a/PiPedalCommon/src/include/json.hpp +++ b/PiPedalCommon/src/include/json.hpp @@ -429,12 +429,7 @@ namespace pipedal void write(float f) { write_float(f); } - void write(float &f) { - write_float(f); - } - void write(const float &f) { - write_float(f); - } + void write_double(double f) { if ((std::isnan(f) || std::isinf(f))) @@ -456,17 +451,6 @@ namespace pipedal write_double(d); } - void write(double &d) - { - write_double(d); - } - void write(const double &d) - { - write_double(d); - } - - - template void write(const std::vector &value) {