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/BLI_user_counter.hh
parent9b426269189ce00add24e48c951c45aca01f2076 (diff)
BLI: simplify using DefaultHash
Diffstat (limited to 'source/blender/blenlib/BLI_user_counter.hh')
-rw-r--r--source/blender/blenlib/BLI_user_counter.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/BLI_user_counter.hh b/source/blender/blenlib/BLI_user_counter.hh
index ef276814981..3e6d5af4c3f 100644
--- a/source/blender/blenlib/BLI_user_counter.hh
+++ b/source/blender/blenlib/BLI_user_counter.hh
@@ -125,7 +125,7 @@ template<typename T> class UserCounter {
uint64_t hash() const
{
- return DefaultHash<T *>{}(data_);
+ return get_default_hash(data_);
}
friend bool operator==(const UserCounter &a, const UserCounter &b)