diff options
author | Mike Buland <eichlan@xagasoft.com> | 2022-04-07 22:52:09 -0700 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2022-04-07 22:52:09 -0700 |
commit | cef3d22297265304e81abf442fe218a6cba7fc10 (patch) | |
tree | ac8a6f673f6da2682b814f7ddc57d3b8552239a7 /c++-qt/gats-qt/dictionary.h | |
parent | 3cbd1038e20dcb2b25db4e74666ec21766642729 (diff) | |
download | libgats-cef3d22297265304e81abf442fe218a6cba7fc10.tar.gz libgats-cef3d22297265304e81abf442fe218a6cba7fc10.tar.bz2 libgats-cef3d22297265304e81abf442fe218a6cba7fc10.tar.xz libgats-cef3d22297265304e81abf442fe218a6cba7fc10.zip |
Dictionaries delete old objects to replace new.
There may be a better way to manage this.
Diffstat (limited to '')
-rw-r--r-- | c++-qt/gats-qt/dictionary.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 | |||
49 | //void insert( const QByteArray &sKey, bool b ); | 49 | //void insert( const QByteArray &sKey, bool b ); |
50 | void insert( const QByteArray &sKey, float d ); | 50 | void insert( const QByteArray &sKey, float d ); |
51 | void insert( const QByteArray &sKey, double d ); | 51 | void insert( const QByteArray &sKey, double d ); |
52 | using QHash<QByteArray, Gats::Object *>::insert; | 52 | void insert( const QByteArray &sKey, Gats::Object *pObj ); |
53 | //using QHash<QByteArray, Gats::Object *>::insert; | ||
53 | void insertBool( const QByteArray &sKey, bool b ); | 54 | void insertBool( const QByteArray &sKey, bool b ); |
54 | void insertInt( const QByteArray &sKey, int64_t i ); | 55 | void insertInt( const QByteArray &sKey, int64_t i ); |
55 | void insertFloat( const QByteArray &sKey, double d ); | 56 | void insertFloat( const QByteArray &sKey, double d ); |