From eb4344653e76a336722108e2d091fc6b1c5ce32c Mon Sep 17 00:00:00 2001 From: JinShil Date: Sat, 31 Aug 2019 12:29:15 +0900 Subject: [PATCH] Replace `hash_t` with `size_t` --- source/vibe/core/path.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/vibe/core/path.d b/source/vibe/core/path.d index 312fd0c..ccf95ff 100644 --- a/source/vibe/core/path.d +++ b/source/vibe/core/path.d @@ -542,7 +542,7 @@ struct GenericPath(F) { string toString() const nothrow @nogc { return m_path; } /// Computes a hash sum, enabling storage within associative arrays. - hash_t toHash() const nothrow @trusted + size_t toHash() const nothrow @trusted { try return typeid(string).getHash(&m_path); catch (Exception e) assert(false, "getHash for string throws!?");