diff options
author | Lars Knoll <lars.knoll@qt.io> | 2020-06-04 13:21:08 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2020-06-06 17:19:02 +0200 |
commit | 3615a5813af10c123069a0c3b16dc66d4416fd1c (patch) | |
tree | 256fd34db5cbb44b2e58beec4579b00f0cf821a2 /src/corelib/kernel/qvariant.h | |
parent | ccbf6ae0bbddff0001c7810934c8f15a8f50c2bb (diff) |
Remove unused function pointers in QVariant::Handler
Task-number: QTBUG-84635
Change-Id: Icfbd1aae26b0453426d93e0af64d84d6403b8e3b
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/corelib/kernel/qvariant.h')
-rw-r--r-- | src/corelib/kernel/qvariant.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/corelib/kernel/qvariant.h b/src/corelib/kernel/qvariant.h index 1f79bdfd89..2f21ef418f 100644 --- a/src/corelib/kernel/qvariant.h +++ b/src/corelib/kernel/qvariant.h @@ -448,23 +448,13 @@ class Q_CORE_EXPORT QVariant }; public: typedef bool (*f_null)(const Private *); -#ifndef QT_NO_DATASTREAM - typedef void (*f_load)(Private *, QDataStream &); - typedef void (*f_save)(const Private *, QDataStream &); -#endif typedef bool (*f_compare)(const Private *, const Private *); typedef bool (*f_convert)(const QVariant::Private *d, int t, void *, bool *); - typedef bool (*f_canConvert)(const QVariant::Private *d, int t); typedef void (*f_debugStream)(QDebug, const QVariant &); struct Handler { f_null isNull; -#ifndef QT_NO_DATASTREAM - f_load load; - f_save save; -#endif f_compare compare; f_convert convert; - f_canConvert canConvert; f_debugStream debugStream; }; |