xo-arena: + src_fn argument in alloc_error + contributaries
This commit is contained in:
parent
c8ba4d42b8
commit
a3e72f33a5
9 changed files with 73 additions and 37 deletions
|
|
@ -74,7 +74,7 @@ namespace xo {
|
|||
xtag("bounds_flag", bounds_flag));
|
||||
|
||||
if (!contains_flag || !bounds_flag) {
|
||||
arena_->capture_error(error::alloc_iterator_deref);
|
||||
arena_->capture_error(error::alloc_iterator_deref, __PRETTY_FUNCTION__);
|
||||
|
||||
return AllocInfo::error_invalid_iterator(&(arena_->config_.header_));
|
||||
}
|
||||
|
|
@ -122,7 +122,7 @@ namespace xo {
|
|||
xtag("bounds_flag", bounds_flag));
|
||||
|
||||
if (!contains_flag || !bounds_flag) {
|
||||
arena_->capture_error(error::alloc_iterator_next);
|
||||
arena_->capture_error(error::alloc_iterator_next, __PRETTY_FUNCTION__);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue