[bitset] tweak an exception message
This commit is contained in:
parent
b32a3b9fb9
commit
9402f09408
@ -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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user