Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2021-03-25 18:01:28 +0300
committerJacques Lucke <jacques@blender.org>2021-03-25 18:01:41 +0300
commit1d7adb6d8a3ee9126b9361f652da89f014bef423 (patch)
treef9ff96750df6eec018406506576bd90b9edc3beb /source/blender/blenlib/intern/math_vec.cc
parent9b426269189ce00add24e48c951c45aca01f2076 (diff)
BLI: simplify using DefaultHash
Diffstat (limited to 'source/blender/blenlib/intern/math_vec.cc')
-rw-r--r--source/blender/blenlib/intern/math_vec.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/math_vec.cc b/source/blender/blenlib/intern/math_vec.cc
index 1d138d0b0f4..223c0e273f0 100644
--- a/source/blender/blenlib/intern/math_vec.cc
+++ b/source/blender/blenlib/intern/math_vec.cc
@@ -173,7 +173,7 @@ mpq3 mpq3::cross_poly(Span<mpq3> poly)
uint64_t hash_mpq_class(const mpq_class &value)
{
/* TODO: better/faster implementation of this. */
- return DefaultHash<float>{}(static_cast<float>(value.get_d()));
+ return get_default_hash(static_cast<float>(value.get_d()));
}
uint64_t mpq2::hash() const