Replace hash_t
with size_t
This commit is contained in:
parent
da006ae154
commit
eb4344653e
|
@ -542,7 +542,7 @@ struct GenericPath(F) {
|
||||||
string toString() const nothrow @nogc { return m_path; }
|
string toString() const nothrow @nogc { return m_path; }
|
||||||
|
|
||||||
/// Computes a hash sum, enabling storage within associative arrays.
|
/// 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);
|
try return typeid(string).getHash(&m_path);
|
||||||
catch (Exception e) assert(false, "getHash for string throws!?");
|
catch (Exception e) assert(false, "getHash for string throws!?");
|
||||||
|
|
Loading…
Reference in a new issue