1
0
Fork 0

initialize member

This commit is contained in:
jsteemann 2019-04-12 10:17:28 +02:00
parent 3f44a9bba6
commit ae62cce45b
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ class Edge {
public: public:
// EdgeEntry() : _nextEntryOffset(0), _dataSize(0), _vertexIDSize(0) {} // EdgeEntry() : _nextEntryOffset(0), _dataSize(0), _vertexIDSize(0) {}
Edge() : _targetShard(InvalidPregelShard) {} Edge() : _targetShard(InvalidPregelShard), _data(0) {}
Edge(PregelShard target, PregelKey const& key) Edge(PregelShard target, PregelKey const& key)
: _targetShard(target), _toKey(key), _data(0) {} : _targetShard(target), _toKey(key), _data(0) {}