Move methods with more than two lines to outside of class definition
This commit is contained in:
@@ -118,14 +118,6 @@ HistogramSet::getNumAssigns (unsigned N, unsigned R)
|
||||
|
||||
|
||||
|
||||
ostream& operator<< (ostream &os, const HistogramSet& hs)
|
||||
{
|
||||
os << "#" << hs.hist_;
|
||||
return os;
|
||||
}
|
||||
|
||||
|
||||
|
||||
unsigned
|
||||
HistogramSet::maxCount (size_t idx) const
|
||||
{
|
||||
@@ -144,3 +136,11 @@ HistogramSet::clearAfter (size_t idx)
|
||||
std::fill (hist_.begin() + idx + 1, hist_.end(), 0);
|
||||
}
|
||||
|
||||
|
||||
|
||||
ostream& operator<< (ostream &os, const HistogramSet& hs)
|
||||
{
|
||||
os << "#" << hs.hist_;
|
||||
return os;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user