diff options
author | Alex Blasche <alexander.blasche@digia.com> | 2013-06-26 17:18:01 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-06-27 08:50:35 +0200 |
commit | e0cbd7d94b604890765c0a4415d4178422f93fcc (patch) | |
tree | 008821d7a364896e2c9801b3ddd93db333a71ea6 /src/nfc | |
parent | dbc2ffc3110d41973daf541ab22e3e01ded91c5b (diff) |
Export qHash(QNdefRecord)
The symbol is used by the library itself. We may as well export it
for wider use.
The patch adds qHash usage to the unit tests to confirm the export of
the function and to ensure catch changes of the hashing algorithm.
Task-number: QTBUG-31951
Change-Id: Ic6e6e2a0cf7ee5aa9f5bd6c91a8a6c31030c5848
Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
Diffstat (limited to 'src/nfc')
-rw-r--r-- | src/nfc/qndefrecord.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nfc/qndefrecord.h b/src/nfc/qndefrecord.h index a896f5f1..85f18c91 100644 --- a/src/nfc/qndefrecord.h +++ b/src/nfc/qndefrecord.h @@ -112,7 +112,7 @@ private: } \ QT_END_NAMESPACE_NFC -uint qHash(const QNdefRecord &key); +Q_NFC_EXPORT uint qHash(const QNdefRecord &key); QT_END_NAMESPACE_NFC |