Merge remote-tracking branch 'github-heinz/Work' into heinz
Conflicts: unit-tests/buffer_t.cc
This commit is contained in:
commit
0f3a9cc567
2 files changed
+35
-6
No files matched your search
@@ -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");
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user