diff options
author | George Hazan <ghazan@miranda.im> | 2023-03-25 15:11:34 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2023-03-25 15:11:34 +0300 |
commit | 496b8d54f05de925f7827785544acbaec35fa356 (patch) | |
tree | efddde401d7b52ed2ee54737a700045730e1a71e /libs/libjson/src/JSONNode.h | |
parent | 27d82200ded3da7e718bfef2cd50ab7ef18050dc (diff) |
fixes #3454 (Telegram: crash fix)
Diffstat (limited to 'libs/libjson/src/JSONNode.h')
-rw-r--r-- | libs/libjson/src/JSONNode.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libs/libjson/src/JSONNode.h b/libs/libjson/src/JSONNode.h index dc69e965ab..a145810854 100644 --- a/libs/libjson/src/JSONNode.h +++ b/libs/libjson/src/JSONNode.h @@ -89,10 +89,11 @@ class LIBJSON_EXPORT JSONNode public:
explicit JSONNode(char mytype = JSON_NODE);
- #define DECLARE_CTOR(type) JSONNode(const json_string & name_t, type value_t)
+ #define DECLARE_CTOR(type) JSONNode(const json_string &name_t, type value_t)
DECLARE_FOR_ALL_TYPES(DECLARE_CTOR)
+ JSONNode(const json_string &name_t, const wchar_t *value_t);
- JSONNode(const JSONNode & orig);
+ JSONNode(const JSONNode &orig);
~JSONNode(void);
static JSONNode parse(const json_char *str);
|