mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-24 17:32:18 +00:00
Add explicit to JSONValue constructors (#4665)
This commit is contained in:
parent
e9d55de3cb
commit
dc8cc122a6
@ -40,15 +40,15 @@ class JSONValue
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
JSONValue(/*NULL*/);
|
JSONValue(/*NULL*/);
|
||||||
JSONValue(const char *m_char_value);
|
explicit JSONValue(const char *m_char_value);
|
||||||
JSONValue(const std::string &m_string_value);
|
explicit JSONValue(const std::string &m_string_value);
|
||||||
JSONValue(bool m_bool_value);
|
explicit JSONValue(bool m_bool_value);
|
||||||
JSONValue(double m_number_value);
|
explicit JSONValue(double m_number_value);
|
||||||
JSONValue(int m_integer_value);
|
explicit JSONValue(int m_integer_value);
|
||||||
JSONValue(unsigned int m_integer_value);
|
explicit JSONValue(unsigned int m_integer_value);
|
||||||
JSONValue(const JSONArray &m_array_value);
|
explicit JSONValue(const JSONArray &m_array_value);
|
||||||
JSONValue(const JSONObject &m_object_value);
|
explicit JSONValue(const JSONObject &m_object_value);
|
||||||
JSONValue(const JSONValue &m_source);
|
explicit JSONValue(const JSONValue &m_source);
|
||||||
~JSONValue();
|
~JSONValue();
|
||||||
|
|
||||||
bool IsNull() const;
|
bool IsNull() const;
|
||||||
|
Loading…
Reference in New Issue
Block a user