[bitset] tweak an exception message
This commit is contained in:
1 parent
b32a3b9fb9
commit
9402f09408
1 file changed
+1
-1
@@ -188,7 +188,7 @@ namespace persistent_data {
|
||||
if (n >= nr_bits_) {
|
||||
std::ostringstream str;
|
||||
str << "bitset index out of bounds ("
|
||||
<< n << " >= " << nr_bits_ << endl;
|
||||
<< n << " >= " << nr_bits_ << ")";
|
||||
throw runtime_error(str.str());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user