Commit 6146b9f 1 parent 3d6ea2a commit 6146b9f Copy full SHA for 6146b9f
File tree 2 files changed +7
-11
lines changed
2 files changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -451,6 +451,13 @@ struct qvi_hwloc_bitmap_s {
451
451
{
452
452
qvi_hwloc_bitmap_delete (&m_data);
453
453
}
454
+ /* * Equality operator. */
455
+ bool
456
+ operator ==(
457
+ const qvi_hwloc_bitmap_s &x
458
+ ) const {
459
+ return hwloc_bitmap_compare (cdata (), x.cdata ()) == 0 ;
460
+ }
454
461
/* * Assignment operator. */
455
462
void
456
463
operator =(const qvi_hwloc_bitmap_s &src)
Original file line number Diff line number Diff line change 47
47
#include " qvi-utils.h"
48
48
49
49
#if 0
50
- /**
51
- * Returns whether two cpusets are equal.
52
- */
53
- static bool
54
- cpusets_equal(
55
- hwloc_const_cpuset_t a,
56
- hwloc_const_cpuset_t b
57
- ) {
58
- return hwloc_bitmap_compare(a, b) == 0;
59
- }
60
-
61
50
/**
62
51
*
63
52
*/
You can’t perform that action at this time.
0 commit comments