From 9402f0940813e5f82406f0deac12b835d50bc5ae Mon Sep 17 00:00:00 2001 From: Joe Thornber Date: Mon, 18 Nov 2013 13:07:21 +0000 Subject: [PATCH] [bitset] tweak an exception message --- persistent-data/data-structures/bitset.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/persistent-data/data-structures/bitset.cc b/persistent-data/data-structures/bitset.cc index 55b157d..c9ad0b4 100644 --- a/persistent-data/data-structures/bitset.cc +++ b/persistent-data/data-structures/bitset.cc @@ -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()); } }