From b944d04d08a33e9bff14ea078362da63143fa91c Mon Sep 17 00:00:00 2001 From: HanishKVC Date: Sat, 11 May 2024 23:31:53 +0530 Subject: [PATCH] ChatON: Add constructor for ChatTemplates which chains into GKV --- common/chaton.hpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/common/chaton.hpp b/common/chaton.hpp index 37fcd162d..06646c372 100644 --- a/common/chaton.hpp +++ b/common/chaton.hpp @@ -301,9 +301,13 @@ public: class ChatTemplates : public GroupKV { +public: + + ChatTemplates(GroupKVMapMapVariant defaultMap) : GroupKV(defaultMap) {} + }; -ChatTemplates gCT; +ChatTemplates gCT = {{}}; #ifdef CHATON_JSON