From cef3d22297265304e81abf442fe218a6cba7fc10 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 7 Apr 2022 22:52:09 -0700 Subject: Dictionaries delete old objects to replace new. There may be a better way to manage this. --- c++-qt/gats-qt/dictionary.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'c++-qt/gats-qt') diff --git a/c++-qt/gats-qt/dictionary.h b/c++-qt/gats-qt/dictionary.h index 6f9e82a..6b13868 100644 --- a/c++-qt/gats-qt/dictionary.h +++ b/c++-qt/gats-qt/dictionary.h @@ -49,7 +49,8 @@ namespace Gats //void insert( const QByteArray &sKey, bool b ); void insert( const QByteArray &sKey, float d ); void insert( const QByteArray &sKey, double d ); - using QHash::insert; + void insert( const QByteArray &sKey, Gats::Object *pObj ); + //using QHash::insert; void insertBool( const QByteArray &sKey, bool b ); void insertInt( const QByteArray &sKey, int64_t i ); void insertFloat( const QByteArray &sKey, double d ); -- cgit v1.2.3