[bitset] tweak an exception message

This commit is contained in:
Joe Thornber 2013-11-18 13:07:21 +00:00
parent b32a3b9fb9
commit 9402f09408

View File

@ -188,7 +188,7 @@ namespace persistent_data {
if (n >= nr_bits_) { if (n >= nr_bits_) {
std::ostringstream str; std::ostringstream str;
str << "bitset index out of bounds (" str << "bitset index out of bounds ("
<< n << " >= " << nr_bits_ << endl; << n << " >= " << nr_bits_ << ")";
throw runtime_error(str.str()); throw runtime_error(str.str());
} }
} }