mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 16:14:11 +01:00 
			
		
		
		
	Change naming convention from _member to member_ (fixes #1905)
				
					
				
			This commit is contained in:
		| @@ -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 { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user