Change initialization order instead of declaration order for FilterBinIter.

This commit is contained in:
Patrick Shriwise 2020-02-28 10:50:10 -06:00
parent 19c9f3464c
commit d9a135f234
2 changed files with 7 additions and 10 deletions

View file

@ -39,18 +39,15 @@ public:
FilterBinIter& operator++();
int index_ {1};
double weight_ {1.};
std::vector<FilterMatch>& filter_matches_;
private:
void compute_index_weight();
// Data members
const Tally& tally_;
public:
int index_ {1};
double weight_ {1.};
std::vector<FilterMatch>& filter_matches_;
};
//==============================================================================