File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -63,13 +63,6 @@ struct NODISCARD CvSeeder {
6363 return mixRawAssign (hash32 (static_cast <uint>(otherValue)));
6464 }
6565
66- // `mixAssign` is specialized for mixing two seeders.
67- // This is done to avoid rehashing the value within the seeder because it is presumably already hashed.
68- template <> inline CvSeeder& mixAssign<CvSeeder>(CvSeeder otherSeed)
69- {
70- return mixRawAssign (otherSeed.value );
71- }
72-
7366 template <typename T> inline CvSeeder mixRaw (T otherValue) const
7467 {
7568 CvSeeder newSeed = *this ;
@@ -90,6 +83,13 @@ struct NODISCARD CvSeeder {
9083 }
9184};
9285
86+ // `mixAssign` is specialized for mixing two seeders.
87+ // This is done to avoid rehashing the value within the seeder because it is presumably already hashed.
88+ template <> inline CvSeeder& CvSeeder::mixAssign<CvSeeder>(CvSeeder otherSeed)
89+ {
90+ return mixRawAssign (otherSeed.value );
91+ }
92+
9393class CvRandom
9494{
9595
You can’t perform that action at this time.
0 commit comments