File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
llvm/include/llvm/CodeGen/PBQP Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -25,8 +25,6 @@ using PBQPNum = float;
2525
2626// / PBQP Vector class.
2727class Vector {
28- friend hash_code hash_value (const Vector &);
29-
3028public:
3129 // / Construct a PBQP vector of the given size.
3230 explicit Vector (unsigned Length) : Data(Length) {}
@@ -96,7 +94,7 @@ class Vector {
9694inline hash_code hash_value (const Vector &V) {
9795 const unsigned *VBegin = reinterpret_cast <const unsigned *>(V.begin ());
9896 const unsigned *VEnd = reinterpret_cast <const unsigned *>(V.end ());
99- return hash_combine (V.Data . size (), hash_combine_range (VBegin, VEnd));
97+ return hash_combine (V.getLength (), hash_combine_range (VBegin, VEnd));
10098}
10199
102100// / Output a textual representation of the given vector on the given
You can’t perform that action at this time.
0 commit comments