STYLE: extraneous debug output in PackedList

- bitSet::used() method for compatibility with code using the
  PackedBoolList typedef, but marked as deprecated.
This commit is contained in:
Mark Olesen
2018-04-26 14:10:16 +02:00
parent f181a7ac61
commit d3c2668cc6
2 changed files with 8 additions and 1 deletions

View File

@ -30,7 +30,6 @@ License
template<unsigned Width>
inline unsigned int Foam::PackedList<Width>::repeated_value(unsigned val)
{
std::cout << "call repeated_value" << nl;
return BitOps::repeat_value<block_type,Width>(val);
}

View File

@ -504,6 +504,14 @@ public:
Ostream& os,
const bitSet& bitset
);
// Housekeeping
//- Identical to toc()
// \deprecated compatibility method for PackedBoolList (APR-2018)
inline labelList used() const { return toc(); }
};