Change naming convention from _member to member_ (fixes #1905)

Ported from 31ce648e63
This commit is contained in:
Benoit Blanchon
2023-04-21 18:53:16 +02:00
parent 5d796781fb
commit dd46813dc0
60 changed files with 789 additions and 786 deletions

View File

@ -74,18 +74,18 @@ TEST_CASE("Custom converter with overloading") {
class Complex {
public:
explicit Complex(double r, double i) : _real(r), _imag(i) {}
explicit Complex(double r, double i) : real_(r), imag_(i) {}
double real() const {
return _real;
return real_;
}
double imag() const {
return _imag;
return imag_;
}
private:
double _real, _imag;
double real_, imag_;
};
namespace ArduinoJson {