diff options
author | David Schulz <david.schulz@qt.io> | 2019-12-18 10:52:17 +0100 |
---|---|---|
committer | hjk <hjk@qt.io> | 2019-12-18 10:06:50 +0000 |
commit | 0bd85b00a7de233d127067dbb8ddf0e1d6fa07b8 (patch) | |
tree | 8f2c9b9b27c9c5124d80fdeefe8a50972a0e25ca /src/libs/utils/fileutils.h | |
parent | 2225387b40329951b616802388b0be78a3afd2d9 (diff) |
Utils: export hash<Utils::FilePath>
fixes compile after 8683ec6a29d14fda0b27fd60f2cfd7dbc4952fa9
Change-Id: I1a3ef477e5f486a3222feeb17063e686b05e6277
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/libs/utils/fileutils.h')
-rw-r--r-- | src/libs/utils/fileutils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/utils/fileutils.h b/src/libs/utils/fileutils.h index fa3e434ff0..95ff5c904b 100644 --- a/src/libs/utils/fileutils.h +++ b/src/libs/utils/fileutils.h @@ -290,7 +290,7 @@ inline uint qHash(const Utils::FilePath &a, uint seed = 0) { return a.hash(seed) } // namespace Utils namespace std { -template<> struct hash<Utils::FilePath> +template<> struct QTCREATOR_UTILS_EXPORT hash<Utils::FilePath> { using argument_type = Utils::FilePath; using result_type = size_t; |