Commit 072d8bbf authored by Christian Mohrbacher's avatar Christian Mohrbacher

common: properly initialize usableNodes in MirrorBuddyGroupMapper

(cherry picked from commit c8610d54a821ea8ff034858680341aa4284d6de4)
parent 2188d2ee
......@@ -6,13 +6,13 @@
#include "MirrorBuddyGroupMapper.h"
MirrorBuddyGroupMapper::MirrorBuddyGroupMapper(TargetMapper* targetMapper)
: targetMapper(targetMapper), capacityPools(NULL), mappingsDirty(false), localGroupID(0)
{ }
MirrorBuddyGroupMapper::MirrorBuddyGroupMapper(TargetMapper* targetMapper):
targetMapper(targetMapper), capacityPools(NULL), usableNodes(NULL),
mappingsDirty(false), localGroupID(0) { }
MirrorBuddyGroupMapper::MirrorBuddyGroupMapper()
: targetMapper(NULL), capacityPools(NULL), mappingsDirty(false), localGroupID(0)
{ }
MirrorBuddyGroupMapper::MirrorBuddyGroupMapper():
targetMapper(NULL), capacityPools(NULL), usableNodes(NULL),
mappingsDirty(false), localGroupID(0) { }
/**
* Map two target IDs to a buddyGroupID.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment