diff options
Diffstat (limited to 'common/storage/key.cpp')
-rw-r--r-- | common/storage/key.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/common/storage/key.cpp b/common/storage/key.cpp index 23d7a6a..2327061 100644 --- a/common/storage/key.cpp +++ b/common/storage/key.cpp | |||
@@ -26,6 +26,12 @@ using Sink::Storage::Identifier; | |||
26 | using Sink::Storage::Key; | 26 | using Sink::Storage::Key; |
27 | using Sink::Storage::Revision; | 27 | using Sink::Storage::Revision; |
28 | 28 | ||
29 | |||
30 | uint Sink::Storage::qHash(const Sink::Storage::Identifier &identifier) | ||
31 | { | ||
32 | return qHash(identifier.toInternalByteArray()); | ||
33 | } | ||
34 | |||
29 | QDebug &operator<<(QDebug &dbg, const Identifier &id) | 35 | QDebug &operator<<(QDebug &dbg, const Identifier &id) |
30 | { | 36 | { |
31 | dbg << id.toDisplayString(); | 37 | dbg << id.toDisplayString(); |