Merge remote-tracking branch 'github-heinz/Work' into heinz

Conflicts:
	unit-tests/buffer_t.cc
This commit is contained in:
Joe Thornber
2013-01-29 11:40:56 +00:00
2 changed files with 35 additions and 6 deletions

View File

@ -93,7 +93,7 @@ namespace persistent_data {
static void check_index(unsigned index) {
if (index >= Size)
throw std::runtime_error("buffer index out of bounds");
throw std::range_error("buffer index out of bounds");
}
};
}