Initialize all variables in WellSegmentLateral constructor

This commit is contained in:
Bjørnar Grip Fjær 2017-06-02 10:40:20 +02:00
parent b82aed4bfc
commit 962677d008

View File

@ -65,7 +65,10 @@ struct WellSegmentLateralIntersection {
///
//==================================================================================================
struct WellSegmentLateral {
WellSegmentLateral(size_t lateralIndex) : lateralIndex(lateralIndex) {}
WellSegmentLateral(size_t lateralIndex)
: lateralIndex(lateralIndex),
branchNumber(0)
{}
size_t lateralIndex;
int branchNumber;